I'm trying to set the width of some rollover horizontal buttons to a certain pixel amount (125px)...Problem is, I don't know where I'm supposed to put the width tag, or if I'm supposed to do something else even...
Heres the code I have:
- Code: Select all
#NavBar{
position:relative;
top:150px;
font-family:Arial, Helvetica, sans-serif;
font:Arial;
font-size:10pt;
}
#NavBar ul{
margin:0px;
padding:3px;
display: inline;
}
#NavBar ul li{
margin:0px;
list-style:none;
display:inline;
}
#NavBar ul li a{
background-color:#333333;
color:#FFFFFF;
padding:4px 25px 4px 4px;
text-decoration:none;
border-width:2px;
border:solid;
border-color:#000000;
}
#NavBar ul li a:hover{
background-color:#CCCCCC;
color:#000000;
}



