Reply to Centering problem in IE

Your name:

Reply:


Posted by Sunny on 03/01/06 01:32

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация