S
Sunny
Hi
Anybody had problems with IE6.0.2900.2180 sp2 on XP pro ?
A div which was h-centered (margin-left:auto; margin-right:auto) now doesn't
center anymore.
It's centered in FF and Opera on the same machine than IE and in
FF and Opera on a linux machine.
Here's a snippet
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style>
..wrapper, .headbx, .footbx {width:54em;margin-left:auto; margin-right:auto }
..logo, .nom, .namadd{float:left; background-color:transparent}
..nom, .namadd {width:15em;}
..headbx, .namadd{height:7em}
..adress {font-weight:bolder}
..menu UL, .menu LI, .footbx UL, .footbx LI
{display:inline;background-color:transparent}
..logo IMG, .nom IMG {outline-style:none; border:0px}
..headbx {background: url(pics/entete.gif) no-repeat fixed}
</style>
</head>
<body>
<div class="wrapper">
<!-- some more included divs -->
</div>
</body></html>
This is supposed to display horizontally centered but doesn't in IE6. It
does in FF and Opera on WinXP and on Linux.
Thanks
Anybody had problems with IE6.0.2900.2180 sp2 on XP pro ?
A div which was h-centered (margin-left:auto; margin-right:auto) now doesn't
center anymore.
It's centered in FF and Opera on the same machine than IE and in
FF and Opera on a linux machine.
Here's a snippet
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<style>
..wrapper, .headbx, .footbx {width:54em;margin-left:auto; margin-right:auto }
..logo, .nom, .namadd{float:left; background-color:transparent}
..nom, .namadd {width:15em;}
..headbx, .namadd{height:7em}
..adress {font-weight:bolder}
..menu UL, .menu LI, .footbx UL, .footbx LI
{display:inline;background-color:transparent}
..logo IMG, .nom IMG {outline-style:none; border:0px}
..headbx {background: url(pics/entete.gif) no-repeat fixed}
</style>
</head>
<body>
<div class="wrapper">
<!-- some more included divs -->
</div>
</body></html>
This is supposed to display horizontally centered but doesn't in IE6. It
does in FF and Opera on WinXP and on Linux.
Thanks