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 13:58:42 +0200
Message-Id: <31DA6072.5E49@nada.kth.se>
To: Bert Bos <Bert.Bos@sophia.inria.fr>
Cc: www-style@w3.org
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!


Carl Johan Berglund <f92-cbe@nada.kth.se>
Received on Wednesday, 3 July 1996 07:58:22 UTC

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