Crest Christopher wrote:

> Here <http://jsfiddle.net/bpL490pn/1/>.

Right, so I see two intended "first-child" rules there :

> ::first-child {ouline:1px dotted lime;}
> #t3 p::first-child{color:red;}

The first appears to be generic and targets all elements that are first
children of their parents; the second targets the first child <p>
element that appears nested within an element whose ID is "t3", which in
your code is the parent <div>. Eliminating the syntax errors
(mis-spelled "outline", two colons where one is required) yields this :

        http://web-consultants.org/tests/First-child.html

which appears to demonstrate what you want.

Philip Taylor
______________________________________________________________________
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