Associate
- Joined
- 22 Aug 2010
- Posts
- 2,212
- Location
- In My Command Center
ok i know ie 6 is old but this is bugging me, i have an <img> imbeded in my body tag which is centered but the container <div> will not center, does anyone have an idea why?
this is the css for it
/*----------- tag selectors ------------------*/
html {
background-color:#999;
}
body {
margin:0;
padding:0;
background:url(../_images/body_bg.jpg) repeat-y center top;
}
a {
text-decoration:none;
color:#fff;
}
p {
font-size:14px;
color:#fff;
text-transform:uppercase;
}
h1 {
text-transform:uppercase;
font-size:14px;
}
/*-------------- header ---------------*/
#container {
margin-left:auto;
margin-right:auto;
margin-top:50px;
margin-bottom:50px;
width:920px;
height:700px;
background-color:#333333;
}

this is the css for it
/*----------- tag selectors ------------------*/
html {
background-color:#999;
}
body {
margin:0;
padding:0;
background:url(../_images/body_bg.jpg) repeat-y center top;
}
a {
text-decoration:none;
color:#fff;
}
p {
font-size:14px;
color:#fff;
text-transform:uppercase;
}
h1 {
text-transform:uppercase;
font-size:14px;
}
/*-------------- header ---------------*/
#container {
margin-left:auto;
margin-right:auto;
margin-top:50px;
margin-bottom:50px;
width:920px;
height:700px;
background-color:#333333;
}