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

Re: CSS and Eccentric Poems.



Bert Bos wrote:
> Whether or not <BR> has content is not important for CSS. <IMG>
> doesn't have content either. Neither does the sequence
> `<EM></EM>'. For CSS an element is just an element; it has a name,
> optionally an ID, zero or more attributes, and zero or more characters
> of content. (In other words: CSS deals with the abstract document
> tree, not with the incidental markup.)

Thank's for correcting me.
 
> Here are two alternative ways of expressing the layout of the same
> poem. This time using the STYLE attribute only, to keep the
> information local. Which is preferred depends on one's taste:
> 
>     <p>in Just-<br>
>     spring<br style="display:inline;width:7em">when the world is mud-<br>
>     luscious the little<br>
>     lame baloonman
> 
>     <p>whistles<br style="display:inline;width:5em">far<br
>     style="display:inline;width:5em">and wee

Doesn't this example prove that <br> with proper style attributes
can be a complete replacement of <spacer>? That's what I'd like
to hear!

Cajo.

-- 
Carl Johan Berglund <f92-cbe@nada.kth.se>
http://www.student.nada.kth.se/~f92-cbe/


References: