Re: 1st letter

by "Tim Rivera" <lists(at)timrivera.com>

 Date:  Thu, 23 Oct 2003 19:30:54 -0400
 To:  "Diane" <diane(at)tein.net>,
"HTML Guild" <hwg-basics(at)hwg.org>
 References:  fwvcy01
  todo: View Thread, Original
> Is there a way using css or html to make the first letter of a
> paragraph larger than the rest of the text?

Sure, just use the :first-letter pseudo-element
http://www.w3.org/TR/CSS21/selector.html#first-letter

p:first-letter {font-size: 3em}


Tim

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA