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>.

Cajo.

-- 
Carl Johan Berglund <f92-cbe@nada.kth.se>
http://www.student.nada.kth.se/~f92-cbe/
Received on Wednesday, 3 July 1996 03:56:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:44 GMT