Jump to content
Sign in to follow this  
djp1988

IE floating and clearing

Recommended Posts

Hello,I've ran into the most curious of problems.I have a site set up with three floating blocks, one left menu, a right menu, and a center block for the content.The left block and center blocks float left and the right block floats right.the order in html of these blocks is:

<div id="left_block"></div><div id="right_block"></div><div id="center_block"></div>

What is happening is that clicking a link to a page on the site makes IE 7 display the central block down the page, as if it's clearing the float right. But here's the curious thing, if i click the browsers refresh button, the page reloads and appears correctly. Every time I do that it works, but clicking a link will make it show the central block under the right block, as if maybe it's too large for the available space...Has anyone head of this kind of behavior from IE before?

Share this post


Link to post
Share on other sites

I use float left on all blocks, as long as they have a set width and are in a container div it works ok in IE7 otherwise it does something similar to what you mentioned (although not on refresh only!)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...