WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: IE Weirdness

for

From: Austin, Darrel
Date: Jun 21, 2006 9:10PM


> Any suggestions?

We've been redoing our web site in an all-CSS layout and this has been
the main thorn in my side.

This is how IE works. The workaround we came up with is to wrap each
TABLE and DIV (or any other object that could be set to a fixed width)
in a DIV set to 100%. We then set all DIVs in that column to overflow:
scroll.

That way, in IE, if the page is too narrow, the column doesn't 'pop
down' the page but instead whatever is too wide in the column ends up
with it's own set of scroll bars.

The alternative is to use a layout table, which may also be a viable
option.

If you have control over the content in that column (I don't, as we let
authors maintain it themselves via the CMS) then you could play with
min/max width attributes in compliant browsers and use some of the IE
min/max width hacks.

-Darrel