Online Web Design
http://www.munkyonline.co.uk/ http://www.munkyonline.co.uk
T: +44 (0)20-8816-8893
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Thomas Thomassen
Sent: 07 February 2008 07:40
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] display differences firefox ie 7.0
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:
MH:
Someone earlier this week sent a very good presentation that
explained a lot of the problems you are facing. It is quite a long
presentation (more of a lesson really!) but it answers a lot of the
problems you are having. There are also a collection of great links
sprinkled through
differences firefox ie 7.0
MH:
Someone earlier this week sent a very good presentation that explained a lot
of the problems you are facing. It is quite a long presentation (more of a
lesson really!) but it answers a lot of the problems you are having. There are
also a collection of great links
I've noticed that my site is centered it ie 7.0 but left justified in
firefox http://terrorfreeamerica.us/. What are the issues and
workarounds to keep them in sync. In this case I would like it centered
both ways but I would love to know how to do it either way.
Thanks
--
Michael Horowitz
#wrapper {
margin: 0 auto;
padding: 0;
text-align: left;
width: 950px;
}
Cheers
Adam
Michael Horowitz wrote:
I've noticed that my site is centered it ie 7.0 but left justified in
firefox http://terrorfreeamerica.us/. What are the issues and
workarounds to keep them in sync. In
In wrapper, change the margin to be:
margin: 0 auto;
To center block-level elements, you set margin-left: auto and
margin-right: auto (margin: 0 auto is a shortcut for that). In IE, at
least IE6, it wrongfully would let you use text-align: center to
position block level elements. Not sure
Hello again Michael;
Same story different instance, in this case the wrapper needs to have them, ie.
#wrapper {
text-align: left;
margin: 0 auto;
padding: 0 auto;
width: 950px;
}
HTH
~Veine
snip
On 5 Feb 2008 at 21:10, Michael Horowitz wrote:
I've noticed that my site is centered
Try
#wrapper {
margin: 0px auto;
}
On Feb 6, 2008 1:10 PM, Michael Horowitz [EMAIL PROTECTED]
wrote:
I've noticed that my site is centered it ie 7.0 but left justified in
firefox http://terrorfreeamerica.us/. What are the issues and
workarounds to keep them in sync. In this case I would