Image

Imagekriona wrote in Imagewebdev

Workaround?

I'm having problems with IE rendering CSS for an <li> tag when a <ul> tag follows it. In IE, the <li> tag encompasses the <ul>, even though </li> is closed. In FF, this doesn't happen. Any ideas?




The Code


<ul>
	<li style="border-bottom: 1px solid black;">This is the styled LI</li>
	<ul>
		<li>Nested Deeper</li>
	</ul>
</ul>


In IE 6:



Image



In FF:



Image