IE has been making me crazy all day.  So, I'll ask you guys.  I need to center 
the container div of a page layout im working on.  Here is my CSS:

div.main
{
text-align:center;
margin:0 auto;
width:1040px;
height:3000px;
top:0px;
left:0px;
position:relative;
background-color:#f6f2ff;
}

div.top
{
text-align:left;
top:10px;
left:0px;
width:1600px;
position:relative;
}

div.foot
{
top:145px;
position:relative;
font-size:normal;
}

div.links
{
margin:0 auto;
text-align:center;
top:125px;
width:400px;
position:relative;
border-width:1px;
border-color:blue;
border-style:solid;
background-color:white;
}

text-align:center; works on the inner divs.  I read that you have to do it 
this way because of IEs lack of CSS support (rolls eyes) its all good in 
Firefox.  Please help.

Kev

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to