I've just spent a couple of hours getting a report generated. I really think there must be an easier solution than the one I finally found, with is sort of a blunt instrument. My @top content:
was overlapping the @page's margin specification of
I couldn't see any way to get them to not overlap, but finally added
to the second (in order of appearance in the file) @page specification. The XHTML file is here: http://www.fearringtonfha.org/newprint/tmp_WorkFile.xhtml
Question #1: Is there any any documentation of the default definitions for the paged media entities (e.g., @page, @top) in the Paged Media section of the documentation?
Question #2: Why did the page content overlap the @top material and what would have been a better way to ensure that they didn't overlap?
Thanks.
@top {
content: "SCC Roster Checkoff";
font-size: 200%;
margin:1em auto 1em auto;
display:block;
}
was overlapping the @page's margin specification of
margin: 1.5in 0.5in .5in 0.75in;
I couldn't see any way to get them to not overlap, but finally added
margin-top: 1in;
to the second (in order of appearance in the file) @page specification. The XHTML file is here: http://www.fearringtonfha.org/newprint/tmp_WorkFile.xhtml
Question #1: Is there any any documentation of the default definitions for the paged media entities (e.g., @page, @top) in the Paged Media section of the documentation?
Question #2: Why did the page content overlap the @top material and what would have been a better way to ensure that they didn't overlap?
Thanks.