Here it is, but it doesn't work. Code: #nav li a:hover{display:block;color:#03f;background:#def;text-decoration:underline;padding:2px 0 0 3px;} I would like the hover state to have a change of background color, and an underline. Except for a single time when editing css with the web developer toolbar, the underline would not show up. FF IE Chrome, Safari, and Opera, all did the same.
What's wrong with this css declaration?
8
Here it is, but it doesn't work.
I would like the hover state to have a change of background color, and an underline. Except for a single time when editing css with the web developer toolbar, the underline would not show up. FF IE Chrome, Safari, and Opera, all did the same.
I suppose it is because I am giving 2 indications of hover, and the browsers think that one is enough. (Do browsers think? )
Or is there something I am missing something else?
Code:
#nav li a:hover{display:block;color:#03f;background:#def;text-decoration:underline;padding:2px 0 0 3px;} I suppose it is because I am giving 2 indications of hover, and the browsers think that one is enough. (Do browsers think?
Or is there something I am missing something else?
- Brandon Tanner
- seopress
- Lloyd Buchinski
- Rockt
- [ 1 ] Thanks
- [1] reply
- Lloyd Buchinski
- xuled Banned
- jimcarry28 Banned
- KarlWarren
- [ 1 ] Thanks
Next Topics on Trending Feed
-
8