WingedKnight
Programmer
I'm trying to apply formatting to a list header which should not apply to the list items. I have this CSS:
and this HTML:
How do I fix the CSS so that the second line isn't underlined?
Code:
ul { text-decoration: underline; }
ul li { text-decoration: none; }
and this HTML:
Code:
<ul>Should be underlined
<li>Should not be underlined</li>
</ul>
How do I fix the CSS so that the second line isn't underlined?