MJ
asked on
How to Control List <LI> position verticle and horizontal
How do you control the horizontal position (spacing) of <li> in a css? I don't like the default spacing, it indents way too much for my taste! Also is there a way to control the verticle spacing from the top and bottom of the list?? By this I mean the space before and after the <ul> & </ul>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<style>
ul { margin: 0px; }
li { margin-left: -20px; }
</style>
<ul>
<li>item</li>
<li>item</li>
<li>item</li>
</ul>