On Jan 17, 2012, at 7:40 AM, Martin wrote:

> 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, 
> eg:
> 
> 
> ____
> |     irst letter of each paragraph should be
> ----- as big as that. I don't know if that's possible
> |     but it'd be nice to know it. It'd look good on
> my website. Thank you very much
> 
> Would it require using pictures or css would do?

have a look at the ::first-letter pseudo-element
http://www.w3.org/TR/css3-selectors/#first-letter

something like this:

p::first-letter {
font-size: 3.2 em;
line-height: .8em;
font-weight: bold;
}

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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/

Reply via email to