This is driving me crazy. I can't seem to get my lists to wrap and indent correctly.
Take a look at this: example . Notice how when the list item wraps to the next line, it doesn't indent enough?
Here is the source of list.htm:
<HTML>
<HEAD>
<LINK href="base.css" type=text/css rel=stylesheet>
</HEAD>
<BODY>
<table>
<tr>
<td>
<DIV class=navBar><BR>
<UL>
<LI>Hello There
<LI>Testing unordered lists
<LI>Here is another list item
</LI>
</UL>
</DIV>
</td>
</tr>
</table>
</BODY>
</HTML>
and here is the css (base.css file):
ul {
list-style-type: disc;
list-style-position: outside;
text-indent: 5px;
margin: 0 0 0.5em 15px;
}
.navBar {
width:100px;
font-family: Verdana, Lucida, helvetica, arial, sans-serif;
font-size:11px;
border-style:solid;
}
Any suggestions at all would be great. It's driving me bonkers.
Thanks.