Forum How do I...?

How do I select the first element of a page.

katata
My doubt is exactly the title of this topic, "How do I select the first element of a page ?" I have to select the first element of a page, because sometimes there is a element at the top of the page that have a big margin for example and I want to remove it.

<div>
<p> ... big text ... </p>
<h1 style="padding-top: 100px"> ... something ... </h1>
<div>

Every h1 that starts the page, I want to set padding-top: 0px.

Sorry if I could not find anything like this at forum.
mikeday
It is not possible to select the first element on a page. Why not use margin-top instead of padding-top, then it should collapse automatically.
katata
Because my document has more than one page and perhaps the new page could begin with a element that have a padding at top, understand ?
mikeday
Right, unfortunately this cannot be fixed at the moment, unless you can replace the 100px padding with 100px margin.