Posts: 39
Location: Aachen, Germany
|
I'm trying to get a list hirachy with very little text indent, but apparently that's more difficult than I thought.
the basic idea is
HTML Code:
<ul class="menu">
<li>a</li>
<ul class="menu">
<li>b</li>
<ul class="menu">
<li>c</li>
</ul>
</ul>
</ul>
I'm using
[CSS]
ul.menu
{
text-indent: -40px;
}
[/CSS]
Now to the problem: I can't knock the menu back too much, because it will disappear. Furthermore, I want to decrease the next level's indent to a reasonable amount. Right now I have enough indent to fit another menu in that space, but of course I'd like it with an indent of 5px or 10px to the upper level.
I'm pretty sure that there is an option for this, though I couldn't find it so far.
|