Log in

View Full Version : Removing <li> vertical spacing?



rctxtreme
07-16-2007, 03:58 AM
http://a2h.uni.cc/blog/gamemaker.php

(The contents of this page are taken from an RSS feed. I put the file in the blog directory because I am lazy)

OK, you can see it's powered by the DD SimplePie script, but my problem is not related to it.

You see the vaguely MediaWiki-ish list now? OK, how do I remove the vertical spacing between each bullet point? The source is viewable... and each article outputs with the following template:

<li>[description goes here] <a href="[link goes here]">Full story</a></li>

jscheuer1
07-16-2007, 04:51 AM
ul {
line-height: .5em;
list-style-type: square;
/*margin: .3em 0 0 1.5em;*/
margin: 0 0 0 1.5em;
padding: 0;
list-style-image: url(http://gmcr.scribblewiki.com/skins/monobook/bullet.gif);
}

rctxtreme
07-16-2007, 05:08 AM
Woot! Thanks...