Previous Message
Next Message

floats and IE

Sent by Gunlaug_Sørtun on 3 December 2007 02:02


Cynthia Page wrote:

> I have a few pages on my website that display images, or videos or 
> even just a list of contacts that I have put in divs with the float 
> attribute. They don't work (they don't stack up under themselves, 
> they hide off to the right of the page) in Windows/IE7.

Same in all IE/win versions, it seems.

> or do I need a clear:after somewhere?

There's no such property/value in any existing standard.

Only checked this page: <http://bio3d.colorado.edu/docs/jc.html>

Add a 'hasLayout' trigger...

#floatwrap {
height: 1%;
}

....and delete the following 'clear: right'...

..floatleft {
clear: right;
}
..left55 {
clear: right;
}

....since they upset IE/win' tender feelings :-) and doesn't do anything
useful anyway since there's nothing to clear in that direction.

regards
	Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: