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

(unknown charset) Re: Problem with float left and drop caps

From: (unknown charset) Carl Morris <msftrncs@htcnet.com>
Date: Wed, 7 Aug 1996 20:19:35 -0500
Message-Id: <199608080123.UAA12760@inet.htcnet.com>
To: (unknown charset) "Jonas Salling" <salling@cooper.xanthus.se>
Cc: (unknown charset) "WWW Style List" <www-style@w3.org>
|   p:first-letter { font-size: 300%; display: block; float: left
siblings; }
|   <p><img style="float: left;" ...>
|   <p>This is the first line.
|   <p>This is the second line.
|   +---+--- his is the first line.
|   |   | |
|   |   | |
|   |   |--- his is the second line.
|   |   | |
|   |   | |
|   +---+
| 

I see this as a problem...  why do you have a P around the image?  The
correct definition there will end up:

<P><IMG>
</P><P>first line
</P><P>second line
</P>

The image should become the first letter of your first P ...  Also, I
don't see how your siblings thing works, how do you know whats a
sibling ...  the P:first-letter alias becomes

<P><SPAN STYLE="font-size: 300%; display: block; float: left
siblings;">F</SPAN>irst line.

It might work better to call this a perent ... meaning that the parent
of the span can wrap around...

I don't know  ... but this all sounds like more uses for it anyway...
Received on Wednesday, 7 August 1996 21:20:09 GMT

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