Menu
My css code :
#nav{
width:100%;
padding:0px;
}
.div1{
height: 20px;
width: 137px;
color:white;
background-color:black;
float:left;
}
.div2{
height: 20px;
background-color:red;
}
My html code
<div id=”nav”>
<div class=”div1″>test 1</div>
<div class=”div2″>test 2</div>
</div>
i’d like to put an background image in div1 and div2, and i’d like div2 to be fluid 100%…
I don’t understand what is wrong