Sup all,
Im doing a site for my college course (Need to make 2 sites but im using the 1) to pass. I have centered the site in IE6 and IE7 but having trouble in firefox and opera. Any suggestions how I can do it.
Thats my css file.
Any help would be great!
Im doing a site for my college course (Need to make 2 sites but im using the 1) to pass. I have centered the site in IE6 and IE7 but having trouble in firefox and opera. Any suggestions how I can do it.
Code:
h1
{
text-align: center;
text-decoration: underline;
font-size: 16px;
}
body
{
background-color: #efefef;
margin-bottom: 25px;
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: center;
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
}
div#container
{
width: 599px;
height: 600px;
border: solid 1px #CCCCCC;
background-color: #FFF;
margin-top: -5px;
}
div#header
{
width: 600px;
height: 100px;
}
div#navigation
{
width: 175px;
height: 585px;
background-image: url('images/navBGImage2.png');
background-repeat: repeat-y;
float: right;
padding-top: 10px;
padding-bottom: 5px;
}
div#content
{
width: 414px;
height: auto;
background-color: #fff;
float: left;
text-align: left;
padding-top: 10px;
padding-left: 5px;
padding-bottom: 5px;
padding-right: 5px;
}
Thats my css file.
Any help would be great!