David Laakso wrote:
> In this prose, in Opera9, there are 5 p:first-line(s) of 5 and 6 words
> followed by a<br />. Each has an extra line of space beneath it as
> though there is a missing line of text. Now what I'll do?
> <http://www.dlaakso.com/dylanthomas05.html>
Thanks for the story, David.
What about
br:before {content:""; display: block;} ?
It looks like as if the additional line break of the firstline-pseudo
element was placed before the br, so this empty content:"" before seems
to collapse with the firstline.
Without the display:block, only with the empty content, the breaks
collapse in Philippe's testcase.
Don't know if that's the way to go. Safari and Fx do not react on
br:before here.
Ingo
--
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/