HTML list problem?

Another quicky.

I've got it so that the text background goes white when you scroll over, how do I do this so that the whole <li> blue and the text color goes to white?


This is how I have it atm..

#nav {text-decoration:none;
width: 200px;
height: 200px;
float:left;
clear:none; }

div#nav ul{padding:0;}


#nav ul a{
width:165px;
font-size:100%;
text-decoration:none;
color:#49C2F7;}


#nav li
{line-height: 25px;
list-style-type: none;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #666666;
text-transform: capitalize;}


#nav li a:hover{color: #FFF; background-color: #FFF;}

Thanks.
 
Sorry mate, it wasnt working! It only changed the text to white when I scrolled over that.

Really confused now, going to give up and have a bath!

#nav ul a{
width:200px;
font-size:100%;
text-decoration:none;
color:#49C2F7;}


#nav li
{line-height: 25px;
list-style-type: none;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #666666;
text-transform: capitalize;}


#nav li a {
padding-left: 5px;

width:auto;
font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;
font-size: 11px;
color: #49C2F7;
}

#nav li:hover {
background: #49C2F7;
color: #fff;}

#nav li a:hover {
padding-left: 5px;
color: #fff;}

Thats the code. :(
 
Can anyone help?

Fine in FF but all misaligned etc in IE.

Everyone always says FF causes problems but its always the other way round for me!
 
Back
Top Bottom