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

RE: Problem with float left and drop caps

From: Hakon Lie <howcome@w3.org>
Date: Tue, 6 Aug 1996 14:59:03 +0200
Message-Id: <199608061259.OAA16771@www4.inria.fr>
To: Jonas Salling <salling@cooper.xanthus.se>
Cc: www-style@w3.org
Jonas Salling writes:

 > Wouldn't adding "clear: left" to the first-letter would look like this: 
 > ----- he first line
 >   |   he second line
 >   |
 >   |
 > -----
 >   |
 >   |
 >   |


 > Adding "clear: left" to the containing P seems awkward...

That's what you will have to do. I don't find it awkward, but in the
case where you also have a floating image, you will not be able to
distinguish between the image and the drop cap since the drop cap is a
floating element. But, you would not want to combine floating images
with drop caps, would you?

Treating drop caps like any other element simplifies imlementations.
To meet your requirements, one would have to make special rules for
drop-cap elements, or introduce a general mechanism for dealing with
various levels of "clearing". Personally, I don't think it's worth it
for CSS1.



Hakon W Lie, W3C/INRIA, Sophia-Antipolis, France
http://www.w3.org/people/howcome  howcome@w3.org
Received on Tuesday, 6 August 1996 08:59:12 UTC

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