On Mon, Jan 16, 2012 at 5:40 PM, Martin <[email protected]> wrote:
Hi there,
I'm wondering if it'd be possible to style the first letter of a paragraph
so that it'd be 3-lines height (I mean generally bigger) as it was in old
texts...
regards
Martin
---
Try [and tweak]:
p:first-letter { font-size: 300%; }
p:first-line { line-height: 100%; }
See: pseudo elements
<http://reference.sitepoint.com/css/pseudoelements>
Best,
Lady Gaga
--
Chelsea Creek Studio
http://ccstudi.com
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/