Basically it looks good in FF but in IE the images are repeated all across the screen. I don't understand why this is happening but if you compare it in both browsers it will be become axiomatic where the problem lies.
My objective is simple, I want to use CSS rollovers to link to different pages. IE stretches it across the screen.
Here is my code:
/*menu navigation images, each image is controlled by a class that is coordinated with it's purpose or name.*/
/*first nav*/
a:link.fnav {
color: #03528f;
background-image: url(images/rollovers/window.jpg);
padding: /*top*/30px /*right*/60px /*bottom*/60px /*left*/30px;
display: block;
border: 3px solid #85a0bc;
margin-right: 15px;
}
a:visited.fnav {
color: #03528f;
background-image: url(images/rollovers/window.jpg);
padding: 30px 60px 60px 25px;
border: 3px solid #85a0bc;
margin-right: 15px;
}
a:hover.fnav{
color: #3f3580;
background-image: url(images/rollovers/window2.jpg);
padding: 30px 60px 60px 25px;
border: 3px solid #405d7b;
margin-right: 15px;
}
a:active.fnav {
color: #3f3580;
background-image: url(images/rollovers/window.jpg);
padding: 30px 60px 60px 25px;
border: 3px solid #85a0bc;
margin-right: 15px;
}
/*first nav*/
/*second nav*/
a:link.snav {
color: #03528f;
background-image: url(images/rollovers/window.jpg);
padding: /*top*/30px /*right*/60px /*bottom*/60px /*left*/30px;
display: block;
border: 3px solid #85a0bc;
margin-right: 15px;
}
a:visited.snav {
color: #03528f;
background-image: url(images/rollovers/window.jpg);
padding: 30px 60px 60px 25px;
border: 3px solid #85a0bc;
margin-right: 15px;
}
a:hover.snav{
color: #3f3580;
background-image: url(images/rollovers/window2.jpg);
padding: 30px 60px 60px 25px;
border: 3px solid #405d7b;
margin-right: 15px;
}
a:active.snav {
color: #3f3580;
background-image: url(images/rollovers/window.jpg);
padding: 30px 60px 60px 25px;
border: 3px solid #85a0bc;
margin-right: 15px;
}
/*second nav*/
/*menu navigation images, each image is controlled by a class that is coordinated with it's purpose or name*/
body {background-color: #e8e9ea;}
.headerhdline {
font: 40px Century Gothic;
letter-spacing: 3px;
color: #24374a;
}
.phptime {
font: 15px arial;
letter-spacing: 1px;
color: #173442;
padding-left: 280px;
}
#container {
width: 845px; height: 500px;
background-color: #e8e9ea;
text-align: center;
margin: auto;
margin-left: auto;
margin-right: auto;
}
#northwestcityclean {
font: 23px arial black;
letter-spacing: 3px;
color: #3a6579;
width: 840px; height: 15px;
padding: 5px 5px 14px 5px;
background-image: url(images/northwestcitycleantitlebar.gif);
border-top: 2px solid #5e5d5d;
border-bottom: 2px solid #5e5d5d;
border-right: 2px solid #5e5d5d;
border-left: 2px solid #5e5d5d;
overflow: hidden;
}
#header {
padding-top: 115px;
width: 850px; height: 54px;
background-image: url(images/header.png);
border-bottom: 2px solid #5e5d5d;
border-right: 2px solid #5e5d5d;
border-left: 2px solid #5e5d5d;
}
#logo {
width: 150px; height: 150px;
background-image: url();
z-index: 1;
position: absolute; top: 30px; left: 200px;
}
#imagemenu {
z-index: 2;
width: 843px; height: 90px;
background-color: #d8e9f1;
border-bottom: 2px solid #5e5d5d;
border-right: 2px solid #5e5d5d;
border-left: 2px solid #5e5d5d;
padding: 40px 0px 0px 7px;
text-align: left;
}
