J
Jan Doggen
Hello,
If I print the code below from IE, I get a large vertical gap at the top of
my first page. The size of the gap is proportional to the contents of the
DIVs. Why is this, what's the workaround?
Note that the <TABLE> is essential; if I leave that out, no problems.
Thanks in advance!
Jan
<HTML>
<HEAD>
</HEAD>
<body topmargin="0" leftmargin="0">
<Table cellspacing=0 cellpadding=0 border=0 width=700>
<TR><TD>
<div style="position: relative">
<Table Cellspacing=0 cellpadding=0 border=0 width=600>
<TR><TD>Medewerker nummer 1</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
</table>
</div>
<div style="position: relative; page-break-before: always">
<Table Cellspacing=0 cellpadding=0 border=0 width=600>
<TR><TD>Medewerker nummer 2</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
</table>
</div>
</TD></TR>
</TABLE>
</BODY>
</HTML>
If I print the code below from IE, I get a large vertical gap at the top of
my first page. The size of the gap is proportional to the contents of the
DIVs. Why is this, what's the workaround?
Note that the <TABLE> is essential; if I leave that out, no problems.
Thanks in advance!
Jan
<HTML>
<HEAD>
</HEAD>
<body topmargin="0" leftmargin="0">
<Table cellspacing=0 cellpadding=0 border=0 width=700>
<TR><TD>
<div style="position: relative">
<Table Cellspacing=0 cellpadding=0 border=0 width=600>
<TR><TD>Medewerker nummer 1</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
</table>
</div>
<div style="position: relative; page-break-before: always">
<Table Cellspacing=0 cellpadding=0 border=0 width=600>
<TR><TD>Medewerker nummer 2</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
<TR><TD Colspan="2">Persoonsgegevens</TD></TR>
</table>
</div>
</TD></TR>
</TABLE>
</BODY>
</HTML>