Hi everybody !
I have level 3 titles with a top margin equal to 15pt
I'd like this h3 to have a null top margin when the title is on the top of a page, instead of 15pt margin.
For the while, I change a h3 placed in top of a page by declaring it with a Next_page class :
but it's a tedious method and I have to change the next page h3 when I change the text or the page-setting.
How can I do to obtain an automatic null top margin a the top of a page ?
Tanking you in anticipation
Boris
I have level 3 titles with a top margin equal to 15pt
h3 {
...
margin-top: 15pt;
...
I'd like this h3 to have a null top margin when the title is on the top of a page, instead of 15pt margin.
For the while, I change a h3 placed in top of a page by declaring it with a Next_page class :
h3.Next_page {
...
page-break-before: always;
margin-top: 0pt;
...
}
but it's a tedious method and I have to change the next page h3 when I change the text or the page-setting.
How can I do to obtain an automatic null top margin a the top of a page ?
Tanking you in anticipation
Boris