I'm trying underline only the words within <li> not the whole line of li
Here's the CSS I have
li {border-bottom-style: solid;border-bottom-width:1px; border-bottom-color: #ff0033}
.left {text-align:left;}
.right {text-align:right;}
.center {text-align:center;}
Here's the HTML
<ul>
<li class="left">Left</li>
<li class="right">Right</li>
</ul>
<ul>
<li class="center">Center</li>
</ul>
The code underlines the word and all the way to the left and right. How do I fix it so only the word is undelined? I normally wouldn't bother with li but <H> won't work where I'm using this.
Thanks For The Help,
Rex