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

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

From: Slaydon, Eugenia <ESlaydon@beacontec.com>
Date: Wed, 16 Jan 2002 17:44:56 -0500
Message-ID: <D47827B1DE559D458AB76C6E6EADFC669CCEF8@tortugas.beacontec.com>
To: "'Wendy A Chisholm'" <wendy@w3.org>, w3c-wai-gl@w3.org
Sorry. I should have specified. B. I see the text but it is all the same
size. I'm running Windows 2000 with NN 4.7 - I use this browser the most
since I found it tends to be less forgiving and catches my invalid boo-boos
that I make so frequently.

-----Original Message-----
From: Wendy A Chisholm [mailto:wendy@w3.org]
Sent: Wednesday, January 16, 2002 4:25 PM
To: Slaydon, Eugenia; w3c-wai-gl@w3.org
Subject: RE: [CSS-TECHS] drop caps, :first-letter


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.

Thanks,
--wendy

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.
>
>http://lists.w3.org/Archives/Public/w3c-wai-gl/2000OctDec/0014.html
>
>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: 
>http://www.w3.org/WAI/GL/tests/drop-caps.html
>
>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
>>
>><head>
>><title>Drop caps</title>
>><style type="text/css"><!--
>>  p:first-letter {
>>    font-size: 120%;
>>    font-family: Helvetica, sans-serif;
>>  }
>>--></style>
>></head>
>><body>
>><p>Once upon a time...</p>
>></body>
>>
>>makes sense to me.
>
>
>--wendy
>
>
>
>-- 
>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 17:41:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:18 GMT