On Tue, Jun 26, 2012 at 4:29 PM, Philip TAYLOR <p.tay...@rhul.ac.uk> wrote:

> W3C : "The :first-letter pseudo-element applies to block container
> elements.
>
> The :first-letter pseudo-element can be used with all such elements that
> contain text, or that have a descendant in the same flow that contains
> text. A UA should act as if the fictional start tag of the first-letter
> pseudo-element is just before the first text of the element, even if
> that first text is in a descendant."


Hmm, so no :first-letter on a <span>, since a <span> is not block-level.
That sucks, but at least explains why my code isn't working. Thanks!

Incidentally, it seems like I've seen it in various places online as
:first-letter and in other places as ::first-letter. Does it matter if you
use one colon or two? Why?

Thanks again!

~K~
______________________________________________________________________
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