
Originally Posted by
Syrehn
(and yes I AM a HTML5 user/supporter)
Don't mind if you do. 
Anyway, I edited my post above and proposed a markup for you.
The problem may also occur in IE7-. If so, try this code:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Nested li</title>
<style type="text/css">
.some-list li, .sub-list span {
border-bottom-width: thin;
border-bottom-style: dotted;
border-bottom-color: #5c8727;
}
.sub-list span {
display:block;
}
.some-list .sub-list {
border:none;
}
</style>
</head><body>
<ul class="some-list">
<li>Item 1</li>
<li class="sub-list"><span>Item 2</span></li>
<ul>
<li>Item 1</li>
<li>Item2</li>
</ul>
<li>Item 3</li>
</ul>
</body></html>
Bookmarks