I have a weird issue. I have added CSS code to nice_menus_default.css to change the background color on rollover,
ul.nice-menu li a:hover {
color: #fff;
background: #000;
}
which does indeed change the background color, but not for the whole cell. For some reason the top few pixels stay the current color.
I have attached an image so you can see what i mean.
Can anyone point me in the direction of where i am going wrong?
Cheers
Gareth
| Comment | File | Size | Author |
|---|---|---|---|
| Picture 1.png | 12.71 KB | gazzer82 |
Comments
Comment #1
add1sun commentedIt is because you are setting it on the link (a) and not the whole item (li).