On 7 Feb 2008, at 10:31, Darren Lovelock wrote:
If you place text-align: center; on the body tag in the CSS and
then margin: auto; on the first 'container' divider then the web
page should be centralised in Firefox and IE.
Like this:
body { text-align: center; }
#container { width: 960px; margin: auto; }
If you use that technique, then don't forget to set text-align back
to left on #container.
... but it is pretty pointless today - IE has supported margin: auto
for many years now. Just make sure you aren't in quirks mode.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************