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;
ay, February 07, 2008 8:14 AM
Subject: Re: [WSG] display 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 ar
: [WSG] display 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 coll
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 tha
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 wo
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
On 5 Feb 2008 at 21:10, Michael Horowitz wrote:
> I've noticed that my site is centered it
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 abou
#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 th