W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2002

RE: [CSS-TECHS] drop caps, :first-letter

From: Wendy A Chisholm <wendy@w3.org>
Date: Wed, 16 Jan 2002 16:25:01 -0500
Message-Id: <>
To: "Slaydon, Eugenia" <ESlaydon@beacontec.com>, w3c-wai-gl@w3.org
Perhaps because it was invalid CSS, eeeks.  Minor error that both Opera and MS seemed to forgive.

In your response, could you please be more specific. When you say "doesn't work at all" that could mean:
a. you can't see any text on the page at all
b. you see text but it's all the same size

also, please state which platform you are running NN on.


At 04:13 PM 1/16/02, Slaydon, Eugenia wrote:
>Just to let you know. The test file doesn't work at all in NN 4.x browsers.
>I think that should be considered since it is still very widely used.
>-----Original Message-----
>From: Wendy A Chisholm [mailto:wendy@w3.org]
>Sent: Wednesday, January 16, 2002 3:26 PM
>To: w3c-wai-gl@w3.org
>Subject: [CSS-TECHS] drop caps, :first-letter
>Did anyone respond to Bjoern Hoehrmann's email about drop caps (sent October
>2000).  Doesn't seem to me that anyone did.
>My response is followed by the details of his question.
>I created a test file with both versions for the heck of it. It's at: 
>I propose that we give both examples.  Using the span element was a way to
>make drop caps that were backwards compatible.  As long as we let people
>know the level of support, they can decide how to do it.
>In the CSS Techs we say the following
>>| 8 Text formatting and position
>>|    Checkpoints in this section: 3.3 Use style sheets to control layout
>>|    and presentation. [Priority 2] .
>>|    The following CSS2 properties can be used to control the formatting
>>|    and position of text:
>>|      * The :first-letter and :first-line pseudo-elements allow authors to
>>|        refer to the first letter or line of a paragraph of text.
>>|    The following example shows how to use style sheets to create a
>>|    drop-cap effect.
>>|    Example.
>>| <HEAD>
>>| <TITLE>Drop caps</TITLE>
>>| <STYLE type="text/css">
>>|       .dropcap { font-size : 120%; font-family : Helvetica }
>>| </STYLE>
>>| </HEAD>
>>| <BODY>
>>| <P><SPAN class="dropcap">O</SPAN>nce upon a time...
>>| </BODY>
>Bjoern Hoehrmann says:
>>This is not an example how to use style sheets to create a drop-cap effect.
>>This should be marked as a deprecated example (and therefore omitted
>>completly). One could have used <font> to create the same effect.
>>Is this another erratum or does it make any sense I can't see? Especially,
>>with this note:
>>|    Note. As of the writing of this document, the CSS pseudo-element
>>|    ':first-letter', which allows content developers to refer to the first
>>|    letter of a chunk of text, is not widely supported.
>>Only an example like
>><title>Drop caps</title>
>><style type="text/css"><!--
>>  p:first-letter {
>>    font-size: 120%;
>>    font-family: Helvetica, sans-serif;
>>  }
>><p>Once upon a time...</p>
>>makes sense to me.
>wendy a chisholm
>world wide web consortium 
>web accessibility initiative
>seattle, wa usa

wendy a chisholm
world wide web consortium 
web accessibility initiative
seattle, wa usa
Received on Wednesday, 16 January 2002 16:26:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:33:40 UTC