Forum How do I...?

Selector :first-line

have
:first-line does not seem to be supported, right?
have
I guess this could be a way to go:

<div>
<span>This is the first line of text</span>
<span>This is the second line of text</span>
...
</div>


And then:

div > :nth-child(1)
{
   color: red;
}

div > :nth-child(2)
{
   color: green;
}



Of course - it would be nice if I could do this in CSS alone.[/code]