Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Site will not center in Explorer but does in Firefox

0 views
Skip to first unread message

Caleb_...@adobeforums.com

unread,
Mar 30, 2009, 3:59:16 PM3/30/09
to
Hi,

I just made this site <http://www.theartisticreation.com>

It looks perfect (to me) in firefox, but in explorer it does not site relative center in the window?

Can anyone help me figure this out?

I have everything inside a container div which is styled like this

#container {
position:relative;
margin-right:auto;
margin-left:auto;
width:1024px;
height:800px;
background-color:#000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;
font-size: 12px;
}

Kath_H...@adobeforums.com

unread,
Mar 30, 2009, 5:34:55 PM3/30/09
to
For Explorer you need to set text to centre as well, then set it back when inside the container. I think it's just some versions of Explorer don't do auto-margins properly.

Murray

unread,
Mar 30, 2009, 8:04:01 PM3/30/09
to
You only need that for IE6 or earlier, though. And you can do that best
with conditional comments.

--
Murray

0 new messages