[Prev][Next][Index][Thread]

Re: CSS and Eccentric Poems.



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/


Follow-Ups: References: