Strange results using nth-of-type selector
i'm getting some strange results using :nth-of-type for p tags, and also h2 tags.
i did a test here on a simple page and it works as expected.
the code is simply:
it is the same on both pages.
but when adding to a developed page, two P's and two H2 are being selected.
there are tags left open by mistake.
I don't see your problem?
Consult this page is you're confused with what nth you should be using: http://reference.sitepoint.com/css/css3psuedoclasses
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)