W3C home > Mailing lists > Public > www-style@w3.org > July 1996

Re: CSS and Eccentric Poems.

From: Carl Johan Berglund <f92-cbe@nada.kth.se>
Date: Wed, 03 Jul 1996 09:56:27 +0200
Message-Id: <31DA2795.3065@nada.kth.se>
To: Bert Bos <Bert.Bos@sophia.inria.fr>
Cc: www-style@w3.org
Bert Bos wrote:
> This spacing is indeed too irregular for CSS1. Some sort of mark-up
> has to be in the HTML; a <SPAN> seems logical, but a <BR> would work
> as well, and is shorter to type:-)
>     <style>
>     br.gap1 { display: inline; width: 7em }
>     br.gap2 { display: inline; width: 5em }
>     </style>
>     <p>in Just-<br>
>     spring<br class=gap1>when the world is mud-<br>
>     luscious the little<br>
>     lame baloonman
>     <p>whistles<br class=gap2>far<br class=gap2>and wee

The problem here is that <br> is not a container--there is
no </br> tag, so there is no content of the <br> that can
be styled in any way. But setting the space between paragraphs
to zero (as proposed) means you can do it with <p>.


Carl Johan Berglund <f92-cbe@nada.kth.se>
Received on Wednesday, 3 July 1996 03:56:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:40 UTC