Gavin Laking
(Hazel Grove, Stockport, UK)
Posted: 04/09/2006, 06:24:53
Add two new styles to your CSS sheet: The first makes the div centralised in IE; other browsers listen to margin:auto
body {text-align:center;}
Now because all browsers think that every sub-element of body should be centrally aligned, we hack the containing div with: (substitute the class declaration with your containing div class or id)
.container {text-align:left;}
You always seem to ask the nice easy ones whilst I'm on holiday Adriana, Sitges nr Barcelona this time! Hope this helps anyway!