Brandon Jaeger Posted October 8, 2008 Share Posted October 8, 2008 Right now I'm using this for my unordered lists and there's too much vertical spacing (if that makes any sense). I need to reduce that amount of space by a few pixels. I've tried changing the padding/margin with no luck. ul { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; line-height: 2em; font-weight: normal; font-variant: normal; text-transform: none; color: black; text-decoration: none; text-indent: 3px; list-style-position: inside; list-style-type: square; padding: 2px; margin: 0px; } Thanks Brandon Quote Link to comment https://forums.phpfreaks.com/topic/127593-less-spacing-in-ul/ Share on other sites More sharing options...
dropfaith Posted October 8, 2008 Share Posted October 8, 2008 if im not mistaken the line height 2 em is causeing this Quote Link to comment https://forums.phpfreaks.com/topic/127593-less-spacing-in-ul/#findComment-660162 Share on other sites More sharing options...
EvanAgee Posted October 12, 2008 Share Posted October 12, 2008 If you haven't fixed it yet you'll probably want to create a new style for the <li> elements as well so you have control over their padding/margin. Quote Link to comment https://forums.phpfreaks.com/topic/127593-less-spacing-in-ul/#findComment-663520 Share on other sites More sharing options...
kevin777 Posted October 13, 2008 Share Posted October 13, 2008 2em line hight seems to be the problem. What i would do is get the firefox web development tool and have a play... If you haven't already. Quote Link to comment https://forums.phpfreaks.com/topic/127593-less-spacing-in-ul/#findComment-663737 Share on other sites More sharing options...
Brandon Jaeger Posted October 13, 2008 Author Share Posted October 13, 2008 What's the URL to it and what does it do exactly? Thanks Brandon Quote Link to comment https://forums.phpfreaks.com/topic/127593-less-spacing-in-ul/#findComment-663740 Share on other sites More sharing options...
haku Posted October 13, 2008 Share Posted October 13, 2008 You can answer that question faster yourself with google and some incentive than you can waiting for someone to tell you here. Quote Link to comment https://forums.phpfreaks.com/topic/127593-less-spacing-in-ul/#findComment-663793 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.