Posted By

angusdev on 03/31/09


css html Firefox

Versions (?)

css first-child test 2

 / Published in: HTML

Refer to This snipplr, added head and body section, even Firefox won't match first-child

  1. <style type="text/css">
  2. p:first-child { color:blue; }
  3. <div>
  4. <script>function dummy(){}</script>
  5. <p>I am a strong man.</p>
  6. <p>I am a strong man.</p>
  7. </div>
  8. </body>
  9. </html>

Report this snippet  

You need to login to post a comment.