PDA

View Full Version : leading (spacing), CSS


AlleyCat
8-12-03, 01:06 AM
Hi,

I wonder if someone could help me with something pretty basic. I'm writing some html code and when I do a list, the spacing (or leading, as us former typesetters call it) between the elements is too great for what I want. I think I can squeeze the lines more by using CSS, but I'm not quite sure what the coding would be.

The end result I'm looking for is the lines closer together. In browser-determined <ul>'s, the spacing is too wide. I also wonder if it's possible to change the color of the bullet (which is presently black).

Thanks,

AlleyCat

B&T
8-12-03, 01:09 AM
Change the spacing and use any image you want as the bullet with css, for example

ul {
list-style-image: url("bullet.gif");
margin-top: -1em;
}

AlleyCat
8-13-03, 11:15 PM
B&T,

I understand, thanks!

AlleyCat