The element below is spanned by a SPAN with a line height of 0. It should look perfectly normal since the line-height of a block-level specifies the minimum height of each inline box in that line.
Content that should span at least two lines with a bit of luck (and a lot of blather, which always goes a way to ensuring that things occupy a lot of space). Content that should span at least two lines with a bit of luck (and a lot of blather, which always goes a way to ensuring that things occupy a lot of space).
Spacer
The two elements above should appear as one, since in the first example the minimum height of each inliine box is 20 pixels thanks to font-size: 1px; line-height: 20 on the DIV, which overrides the 1 pixel line-height on the SPAN.
Copyright © RichInStyle.com 2000; all rights reserved. See copyright document for terms of use. Please visit Bukit Lawang flood appeal.