System Admin’s Weblog

my life, my shit

Archive for February 1st, 2007

IE Doubled Float-Margin Bug

without comments

Well, once again, IE sucks!!..that’s IE 6.xx, cause i didn’t test it on IE7, yet..So, what is the bug, and how u can hack this?..

Example HTML:
–still to come.. :)
So, if u try to look at this in Firefox, u’ll see that it’s 100px from the left side (the bla bla thing..). But, if u’re using IE6 and try to view this…well, it sucks, “bla bla” it’s gonna be 200px from the left side. Why?..First, microsoft SUCKS!! (but not directX ;) ) Second, IE6 as i found on some google search, has some problems with margins on floated divs. So, how can u make it work?..it’s kinda easy..

Hacked example:
–still to come.. :)
So, u split them to work. Margins in one div, float in another one. YUPPYYYY!!! :)

U can read an extended article over here. (that’s my google search result..)

Written by pvradu

1 February 2007 at 12:04 pm

Posted in Tehnic