Mombu the Computer Design Forum sponsored links

Go Back   Mombu the Computer Design Forum > Computer_Design > Site will not center in Explorer but does in Firefox
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 13th February 06:42
caleb_paullus
External User
 
Posts: 1
Default Site will not center in Explorer but does in Firefox


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;
}
  Reply With Quote


  sponsored links


2 13th February 06:42
kath_howard3
External User
 
Posts: 1
Default Site will not center in Explorer but does in Firefox


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.
  Reply With Quote
3 13th February 06:42
murray
External User
 
Posts: 1
Default Site will not center in Explorer but does in Firefox


You only need that for IE6 or earlier, though. And you can do that best
with conditional comments.

--
Murray
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666