Nth-child Pseudo Selectors


what's wrong?

    <h3 class="fancy"> Mira <h3>
    <p class="fancy"> Mirjana </p>
    <p id="serious"> Miki </p>
    <p>Mirjana Lakovic</p>


Hi instead of p:nth... try to do body:nth..


p:nth-child also works, or body :nth-child, but then you need a space to select the 4th element inside body.


i have the same problem :-??.what can i do?


Create a new topic with your html code + error message + question so someone can help you


it's ok now thanks,i fixed the problem.