Re: style sheets, dropped capitals and floatimg text

Gregory Martin Pfeil (pfeilgm@jmu.edu)
Thu, 14 Aug 1997 14:26:18 -0400 (EDT)


Date: Thu, 14 Aug 1997 14:26:18 -0400 (EDT)
From: Gregory Martin Pfeil <pfeilgm@jmu.edu>
To: www-html@atomism.demon.co.uk
cc: www-html@w3.org
In-Reply-To: <33f72bda.16046184@post.demon.co.uk>
Message-ID: <Pine.HPP.3.93.970814132818.4183A-100000@falcon.jmu.edu>
Subject: Re: style sheets, dropped capitals and floatimg text 

On Thu, 14 Aug 1997 www-html@atomism.demon.co.uk wrote:

> I'm trying to get this to work:
>  _______
> [__  __] 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
> anyone know how to create a dropped 
> capital at the start of a paragraph with
> the rest of the paragraph wrapping
> around it?

This is fairly simple to do with style sheets.  Use the pseudo-element,
first-letter, e.g.:

P:first-letter {font-size: 500%}

Of course, I would suggest a smaller value than 500%, but that is what
your ASCII example uses.

--
Gregory Martin Pfeil                Programmer-Composer-Guitarist
mailto:pfeilgm@jmu.edu            http://falcon.jmu.edu/~pfeilgm/