styling an li...

liunx

Guest
Hmm... How do you style an li that has an id? I know how to do it with normal li's but i cant remember/figure out how to style styled one. When i say li i mean

<li>

Just in case no one knows what I'm talking about :p#myLI {
color: red;
list-style-type: square;
}



<li id="myLI">List item.</li>easy enough... thanks!Welcome.(This will probably become a habit, but I just think listing the official info is a good idea.) Further reference (<!-- m --><a class="postlink" href="http://www.w3.org/TR/REC-CSS2/selector.html#id-selectors">http://www.w3.org/TR/REC-CSS2/selector. ... -selectors</a><!-- m -->)definately helpful, thanks!No problem. I guess it's a good habit, then. :D
 
Back
Top