Forum How do I...?

First/last-child of new page

huyhong
Is there a way to detect whether an element is the first or last child of a page? Useful when needing to add/remove margin-top on certain elements if they're now right below the header, as opposed to other elements, in the flow of the document.
mikeday
No, not yet.