Vertical Spacing on block elements

by Brian V Bonini <b-bonini(at)cox.net>

 Date:  25 Jun 2003 11:22:09 -0400
 To:  HWG Techniques <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Maybe I'm having a brain fart and this is obvious but...

How do you control the vertical spacing of block elements.

e.g.

#lines {
	display: block;
}

<.div id="lines">
<.img src="xxx" />
<.img src="xxx" />
<.img src="xxx" />
<./div>

displays this:

_________________________________


_________________________________



_________________________________


but I want:

________________________________
________________________________
________________________________

line-height does not appear to work on block level elements.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA