Previous Message
Next Message

negative margined sidebar moving when window narrowed in IE

Sent by Gunlaug_Sørtun on 19 February 2007 09:09

Richard Grevers wrote:
> <rhetoric value="2 cents">
> The fact that floats can drop when there's not enough room to do 
> justice to several columns is a primary reason to use floats - its 
> why they are better than tables.
> </rhetoric>

I agree (strangely enough :-) ).
The problem is that there's no uniformity across browser-land. Old IE6
has its 'auto-expansion' bug that give us float-drops under certain
conditions, while other browsers - including IE7 - tend to give us the
much uglier overlapping.

Trying to style our layouts for similar behavior across browser-land has
a number of weaknesses, in that 'CSS table' which will cause
'auto-expansion' is treated erroneous in some browsers, and IE7 doesn't
understand 'CSS table' at all.

Using 'fixed-width' floats will work, but doesn't suit all
layouts/design, and even 'min-width' doesn't work well in all cases.

Making the dropped floats line up well below each others can be solved
by floating them all in one direction, but that's also limiting our

The rest is "memories" from old "table-based designs", where nothing
drops and no overlapping occurs. The freedom won by using an "all CSS"
solution is somewhat lost if we have to tie our layouts/designs up in a
table-like organization, but many of us still want the advantages of
tables without having to deal with the disadvantages.

css-discuss [EMAIL-REMOVED]]
IE7 information --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: