jo****@gmail.com wrote:
Hi,
I have an intranet page which will be used by IE users only, primarily
IE6 users.
The problem is
You just told us the problem. Heh. Just kidding.
with the two column layout I have is that if there's a
wide element in the main content of the page which is wider than the
size of the window, the wide content drops to the bottom of the page.
Can anyone assist with a simple way to overcome this?
If you will permit a somewhat exaggerated analogy, this is like saying,
"When I breathe, oxygen comes into my lungs and carbon dioxide goes out.
How can I overcome this?"
The answer to both is that it's supposed to work that way, so there's
nothing to overcome. Floated elements are supposed to, well, float.
From
http://www.w3.org/TR/CSS21/visuren.html#floats:
<q>If there isn't enough horizontal room for the float, it is shifted
downward until either it fits or there are no more floats present.</q>
The wide content is your content, and you've made it wide. What do you
want the browser to do with your content? You say <table width=900and
the browser believes you. Make it 60% or 40em and see if you like the
difference.
What's so bad about the browser doing the dropping anyway? Does the
content lose meaning? If not, then consider letting nature take its
course. Relax. Go with the flow. Mellow out. Peace, man.
--
John