Can someone look at this style sheet and tell me why in IE7 the header appears below content-left screen but in firefox the header is not wrapped to the next line. If i reduce the width of the header to 801 there is a white line to the right of the header in both firefox and IE7.
How can I fix this issue?
ck1999
Code:
#wrapper {
width:970px;
margin:0px auto;
border:3px solid #000000;
padding:0px;
background-color:#ffffff;
position:relative;
}
#header {
border:0px solid #bbb;
height:80px;
background-color: #008000;
Font-size: 38px;
font-family: denmark, arial;
font-weight:bold;
width:802px;
font-style:italic;
text-align:center;
padding-top:10px;
color:#ffffff;
}
#content {
margin-left:-1px;
padding-bottom:0px;
top:81px;
}
/* applies to all divs within the content div */
#content div {
padding: 0px;
border:1px solid #bbb;
float:left;
}
#content-left {
width:165px;
}
#content-main {
margin-left:10px;
margin-right:10px;
margin-top:40px;
margin-bottom:20px;
width:780px;
text-align:center;
}
#footer {
margin-top:20px;
margin-bottom:0px;
margin-left:-3px;
padding:20px;
border:3px solid #000000;
width:930px;
text-align:center;
clear:both;
}
#bottom {
clear:both;
text-align:right;
}
How can I fix this issue?
ck1999