I'm designing my site with css for the first time. Most of the layout is how I want it. However on my #banner my #bannernav is not filling up the entire div even though it is set to 100%, there are a few pixels to the very right that are not being filled with background color. Underneath it is my #dlfbanner. This image size is 700 x 100, which is the same as my div, however there are a few pixel at the very bottom that are showing. I've been trying to fix it, but nothing is working. This is probably a very simple problem that i'm over looking. Can someone please help me? You can view the page at . This is the onlly page created, so the links wont work.
Here is my css code for this section:
Thanks,
nofx1728
Here is my css code for this section:
Code:
#banner {
border: #999999 solid 1px;
color: #666666;
display: block;
font-family:Arial, Helvetica, sans-serif;
font-size: 12px;
margin-bottom:15px;
float: left;
width: 700px;
}
#bannernav {
background-color: #3f3E74;
border-color: #ffffff;
border-style: none none solid;
border-width: medium medium 1px;
color: #ffffff;
display: block;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight:500;
height: 23px;
padding: 4px 0px 0px;
float:left;
width: 100%;
text-align:left;
}
#bannernav a {
color:#FFFFFF;
padding: 0px 2px;
}
#bannernav a:hover {
color:#FFCC00;
text-decoration:underline;
}
#dlfbanner {
background-color:#CAEDFF;
border:#666666 solid 1px;
clear:both;
color:#666666;
display:block;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
height: 100%;
width:100%;
}
Thanks,
nofx1728