Previous Message
Next Message

Float problem in Firefox

Sent by Gunlaug_Sørtun on 29 March 2009 14:02


Gaurav Sharma wrote:

> http://gauravsharma.uuuq.com

First: your example keeps all IE/win versions in a rendering mode
equivalent to that of IE5.5 - Quirks Mode, and doesn't allow for any
improvements made in IE6, IE7 and IE8. Not very wise to block all
progress made to IE, so I hope you don't do that in real designs.

Non-IE browsers don't care which mode your pages trigger - or not - as
long as they're styled correctly and completely.


So, your example will work just fine in Firefox and all other browsers,
regardless of mode, if you add some real "clearfix" styling...

..clearfix:after {
content: "."; display: block; height: 0; clear: both; overflow: hidden;
visibility: hidden;
}

....as can be seen in this, more completely styled but still in quirks
mode, copy of your example...
<http://www.gunlaug.no/tos/alien/gs/test_09_0329.html>

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: