Re: style sheets, dropped capitals and floatimg text

Neil St.Laurent (neil@bigpic.com)
Thu, 14 Aug 1997 12:56:13 -0600


Message-Id: <199708141851.MAA01237@underworld.bigpic.com>
From: "Neil St.Laurent" <neil@bigpic.com>
To: Gregory Martin Pfeil <pfeilgm@jmu.edu>
Date: Thu, 14 Aug 1997 12:56:13 -0600
CC: www-html@w3.org
Subject: Re: style sheets, dropped capitals and floatimg text 

> > [__  __] HIS SEEMS to be very difficult
> >    []    to achieve using style sheets..
> >    []    I've tried floating text but
> >    []    nothing seems to happen in both
> >    []    MSIE 4 and Netscape 4.01. Does
> This is fairly simple to do with style sheets.  Use the pseudo-element,
> first-letter, e.g.:
> P:first-letter {font-size: 500%}

That is actually incorrect.  Unforunately the height of the linesp 
lays a big role in doing the drop caps.  One should set the 
lineheight to 1.1 or something then use 550% or something for the 
font height...
__
| Mortar: Advanced Web Development <http://bigpic.com/mortar/>
| Neil St.Laurent  neil@bigpic.com
| Big Picture Multimedia