- From: Bert Bos <Bert.Bos@sophia.inria.fr>
- Date: Wed, 3 Jul 1996 19:27:57 +0200 (MET DST)
- To: dseibert@sqwest.bc.ca (David Seibert)
- Cc: www-style@w3.org
David Seibert writes:
> > Bert Bos wrote:
> >
> > 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
> >
> > or:
> >
> > <p>in Just-<br>
> > spring<span style="word-spacing:7em"> </span>when the world is mud-<br>
> > luscious the little<br>
> > lame baloonman
> >
>
> These aren't quite the same, are they? Setting "word-spacing:7em" adds
> 7em to the default word-spacing, while setting "width:7em" for the <br>
> should produce a space with a width of 7em, which is shorter unless the
> default word-spacing is 0, right? Am I interpreting the meaning of <br>
> correctly?
You're absolutely right.
They are not the same, but both of them improve on the first version,
which was specified with a space in pixels.
Steven Pemberton's solution can be applied here, too:
<PRE STYLE="FONT-FAMILY:SERIF">
in Just-
spring when the world is mud-
luscious the little
lame baloonman
whistles far and wee
</PRE>
(or use his POETRY element.) Again a different result, but an equally
valid approximation (while we lack the author's instructions.)
Bert
--
Bert Bos ( W 3 C ) http://www.w3.org/
http://www.w3.org/pub/WWW/People/Bos/ INRIA/W3C
bert@w3.org 2004 Rt des Lucioles / BP 93
+33 93 65 77 71 06902 Sophia Antipolis Cedex, France
Received on Wednesday, 3 July 1996 13:28:24 UTC