wac
11-13-2002, 10:58 PM
I'm using UL list to simulate a fully expanded tree. I use css to change the bullet to images. This works well except that I also want to hilite a specific item on mouseover. Unfortunately,
if there's a subordinate UL under an LI, then the entire subtree gets hilited instead of just the single row.
(example)
<UL>
<LI>item 1
<LI>item 2 <!-- hilite this item and both item 2 and 3 are hilited -->
<UL>
<LI>item 3
</UL>
</UL>
I tried wrapping the text in a SPAN and hiliting that, but apparently SPAN doesn't have a background color???!!!
Any suggestions?
if there's a subordinate UL under an LI, then the entire subtree gets hilited instead of just the single row.
(example)
<UL>
<LI>item 1
<LI>item 2 <!-- hilite this item and both item 2 and 3 are hilited -->
<UL>
<LI>item 3
</UL>
</UL>
I tried wrapping the text in a SPAN and hiliting that, but apparently SPAN doesn't have a background color???!!!
Any suggestions?