I have some links..
want it so when you hover over link ENTIRE DIV gets gray bg color (not
just text (like link Three is now on this page..)
but when hover over it, can only do so link (text) gets bg color, not
entire div.. which of course is no good b/c it only highlights text, not
block..
<div id="NavLeft">< a href="" class="nav" title="">Link One</a></div>
<div id="NavLeft">< a href="" class="nav" title="">Link Two</a></div>
(all css code in page in link above..)
etc..
I tried:
#NavLeft:hover {background-color:#EEEEEE}
but it didn't work.. I've seen this :hover used like this before, for a
non-anchor tag element.. in some of those css-drop-down menu demos..
(li:hover ul { display: block; }, for example, from here..
would appreciate some suggestions.. thanks..
want it so when you hover over link ENTIRE DIV gets gray bg color (not
just text (like link Three is now on this page..)
but when hover over it, can only do so link (text) gets bg color, not
entire div.. which of course is no good b/c it only highlights text, not
block..
<div id="NavLeft">< a href="" class="nav" title="">Link One</a></div>
<div id="NavLeft">< a href="" class="nav" title="">Link Two</a></div>
(all css code in page in link above..)
etc..
I tried:
#NavLeft:hover {background-color:#EEEEEE}
but it didn't work.. I've seen this :hover used like this before, for a
non-anchor tag element.. in some of those css-drop-down menu demos..
(li:hover ul { display: block; }, for example, from here..
would appreciate some suggestions.. thanks..
Comment