rpanning
02-17-2004, 02:03 PM
Hi, I'm trying to shrink the list indent size. I seen the other post about removing the indent and whatnot but cannot get it to work right. Here's what I'm basicly using.
<html><head>
<title>Test</title>
<style type="text/css">
ul {
margin-left: -20px;
}
</style>
</head><body>
<ul>
<li>Test</li>
<li>Test</li>
<ul>
<li>Test</li>
<li>Test</li>
<ul>
<li>Test</li>
<li>Test</li>
</ul>
<li>Test</li>
</ul>
<li>Test</li>
<li>Test</li>
</ul>
</body></html>
Now that works great in Firefox but IE 6 seems to take a different approach. It "reverses" the indent so the first item is indented farther than sub lists. It also pushes it off the screen to the left. Hard to explain, give it a try. Dang IE! Anyway, does anyone know a way around this? I'm just trying to get the indent smaller for lists & sublists. Thanks
<html><head>
<title>Test</title>
<style type="text/css">
ul {
margin-left: -20px;
}
</style>
</head><body>
<ul>
<li>Test</li>
<li>Test</li>
<ul>
<li>Test</li>
<li>Test</li>
<ul>
<li>Test</li>
<li>Test</li>
</ul>
<li>Test</li>
</ul>
<li>Test</li>
<li>Test</li>
</ul>
</body></html>
Now that works great in Firefox but IE 6 seems to take a different approach. It "reverses" the indent so the first item is indented farther than sub lists. It also pushes it off the screen to the left. Hard to explain, give it a try. Dang IE! Anyway, does anyone know a way around this? I'm just trying to get the indent smaller for lists & sublists. Thanks