W3C home > Mailing lists > Public > www-style@w3.org > August 1999

Re: CSS2 implementation

From: Rasmus Kaj <kaj@raditex.se>
Date: Mon, 09 Aug 1999 17:59:43 +0200
To: ament@xs4all.nl
Cc: www-style@w3.org
Cc: Rasmus Kaj <kaj@raditex.se>
Message-Id: <19990809175943E.kaj@raditex.se>
>>>>> "a" == ament  <ament@xs4all.nl> writes:

 a> I'm trying to implement CSS2-stylesheets.. I want to implement it 100%
 a> correctly, but I've got a problem:

Hi!  Sounds fine ...


 a> where normal text has a margin-left: 2em
 a> and EM-text has a margin-left: 4em

I assume:
BODY { display: block; }
EM { display: inline; }

In this case, anonymous inline boxes should be created like this:

<HTML><BODY><anon> TEXT IS NI</anon><EM>C</EM><anon>E

Also, there is no such thing as properties applied to 'normal text',
so I assume you mean that BODY has margin-left: 2em (or that the text
is inside a P with margin-left: 2em).

Thus, it should look something like this (the '|' is the left margin
of the viewport).

 |  TEXT IS NI    CE

... and probably with the C emphasized in some unspecified way.

Read more here: http://www.w3.org/TR/PR-CSS2/visuren.html#q7

Rasmus Kaj ---------------- rasmus@kaj.a.se - http://www.e.kth.se/~kaj/
 \              Im sorry if the correct way of doing things offends you
  \--------------------------------------------- http://www.Raditex.se/
Received on Monday, 9 August 1999 11:59:52 UTC

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