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: <3.0.5.32.19990805165430.007bbec0@pop.xs4all.nl>
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:

--Intro--------------------------------------------------------------

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

--Question-----------------------------------------------------------

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

greetings,

Mark
Received on Thursday, 5 August 1999 11:02:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:00 GMT