No replies
Last seen: 16 years 8 weeks ago
Timezone: GMT-6
Joined: 2004-05-17
Posts: 5
Points: 0

I have the following simple code. It is a simple list, that displays the tree structure. I want one of the list to be high-lighted and I use css id to do that. IE will select the enitre list and a sub list that is underneath it to show the selected list. Mozilla and Opera are fine though. Take a look at this code, and see what can be done to solve it? Help Appreciated.

<style type="text/css">
ul {
list-style none;
width 200px;
li#current {
background-color Gray;
border 1px solid Black;

<li>List 1</li>
<li id="current">List 2</li>
<li>Sub List 1</li>
<li>Sub List 2</li>
<li>Sub List 3</li>
<li>List 3</li>
<li>List 4</li>

PS HTML file included if you'd like to see and try.