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

Q: Floating Paragraph???

From: Chris Josephes <cpj1@winternet.com>
Date: Thu, 27 Jun 1996 22:24:10 -0500 (CDT)
To: www-style@w3.org
Message-Id: <Pine.SOL.3.91.960627221649.14000B-100000@tundra>

What exactly would it take to create a floating paragraph effect using 
CSS, such as the following....

Pone----- Ptwo*******
--------- ***********
--------- ***********
-----     ***********
*********************
******************

P1 would have a different background and typeface to distinguish itself 
from P2.  P1 would also have line breaks set via the <BR> tag to control 
line length.

Would the following code be sufficient?

P.one { float:left;
        width:auto;
	background:yellow;
	font:cursive;
      }



----------------------- Christopher P. Josephes ----------------------------
Email |  mailto:cpj1@winternet.com
Web   |  http://www.winternet.com/~cpj1/
Received on Thursday, 27 June 1996 23:29:49 GMT

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