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

CSS2 implementation

From: ament <ament@xs4all.nl>
Date: Thu, 05 Aug 1999 16:54:30 +0200
Message-Id: <>
To: www-style@w3.org
Hi there!

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


It's about inlineboxes and different margins

I have a html-source:  <HMTL><BODY> TEXT IS NI<EM>C</EM>E </BODY></HTML>
and I want to display it on the screen with enough width (you don't have to
break the "TEXT IS NICE" sequence..; it can stay on 1 linebox)

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


Should I use 1 or 2 ?

1) should "TEXT IS NICE" be completely interpreted as 1 inlinebox and so 1
time the margin-left is being used.
2) should "TEXT IS NI" , "C" , "E" be interpreted as 3 different inline
boxes and their margin-left be applied to all the 3 of them. (resulting in
a very ugly line of text)

I hope any of you could anwser the question and that I haven't overlooked
anything in the documents on www.w3.org


Received on Thursday, 5 August 1999 11:02:15 UTC

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