[thelist] Line height in an element

michael ensor edc at wnc.quik.co.nz
Thu Sep 12 06:53:01 CDT 2002


Dunno about tr td question, but for any element you can set the line-height
[ vertical distance separating adjacent baselines!] to length; %; #; or
normal.

One caution:

they are analogous to font sizes in terms of inheritance., so that you need
to watch the computed v inherited values when dealing with parent and child
elements

eg: try these with different div orders-

body ( font-size: 1em; line-height: 1.5em; }

and

body ( font-size: 1em; line-height: 1.5; }


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.386 / Virus Database: 218 - Release Date: 9/09/02




More information about the thelist mailing list