/    Sign up×
Community /Pin to ProfileBookmark

CSS layout problem in IE depending on container length

So i have a container which has a header, sidebar, content area, and footer. Depending on the length of the content in the content area the spacing between the sidebar and content area disappears or changes to 20px. This can only be seen on IE, firefox renders correctly.

[url]http://www.studentsherpas.com/contact.php[/url] should be short enough to cause the problem depending on browswer width.

the CSS can be seen here: [url]http://studentsherpas.com/rw_common/themes/sharp/styles.css[/url]

if you go to:
[url]http://www.studentsherpas.com/example2.php[/url] and play with the width of the page the spacing should change.

Im not sure how to fix this and have tried a bunch of different fixes. Thoughts? Comments? Concerns?

The page also has a variable width, but im thinking of changing this. I’m not sure if this would cause the problem

thanks aaron

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@SiddanApr 08.2008 — Hi

The problem seems to be lying at your div clearer.

-Try placing that div below the ContentContainer.

This will make the bg color too spreaded.

-Move the background style to ContentContainer .content

.. and lastly you can set a margin-bottom to the SidebarContainer,

to prevent the footer touching it when the content has less height than the Sidebar


cheers
×

Success!

Help @arfrank spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...