Forum How do I...?

How do I properly put a bookmark in a table's header?

nick1n
I don't know if I'm doing this correctly or if it's a bug, but when I put a bookmark in the header of a table and that table spreads across multiple pages and I click on that bookmark in adobe reader it always goes to the last page with that header when it should go to the first page with that header. :?

The main css for it is:
div.bookmark1 {
	prince-bookmark-level: 1;
	prince-bookmark-label: attr(title);
}

div.bookmark2 {
	prince-bookmark-level: 2;
	prince-bookmark-label: attr(title);
}


Here's an example of the html:
<HTML>
<HEAD>
	<META http-equiv="Content-Language" content="en-us" />
	<META http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<TITLE></TITLE>
</HEAD>
<BODY>
	<table style="table-layout: fixed;" width="100%">
		<thead>
			<tr>
				<td colspan="8" width="100%">
					<table style="table-layout: fixed;" width="100%">
						<tbody>
							<tr>
								<td width="15%">
									Report Level:
								</td>
								<td width="85%">
									<div class="bookmark1" title="Report Level 1">
										Report Level 1
									</div>
								</td>
							</tr>
						</tbody>
					</table>
				</td>
			</tr>
			<tr>
				<td colspan="2" width="40%">
					1<br />
					Object
				</td>
				<td width="10%">
					2<br />
					Object
				</td>
				<td width="10%">
					3<br />
					Object
				</td>
				<td width="10%">
					4<br />
					Object
				</td>
				<td width="10%">
					5<br />
					Object
				</td>
				<td width="10%">
					6<br />
					Object
				</td>
				<td width="10%">
					7<br />
					Object
				</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td colspan="2" width="40%">
					<div class="bookmark2" title="Report Level 1.1">
						Report Level 1.1
					</div>
				</td>
				<td width="10%">
					0
				</td>
				<td width="10%">
					0
				</td>
				<td width="10%">
					0
				</td>
				<td width="10%">
					0
				</td>
				<td width="10%">
					0
				</td>
				<td width="10%">
					0
				</td>
			</tr>
			...
		</tbody>
	</table>
</body>
</html>


Thanks,
Nick
mikeday
This is a bug that will be fixed in the final release of Prince 8.0. :)
nick1n
Ok, Thanks :)
mikeday
The final release of Prince 8.0 is now available, with a fix for this bug. Thanks again for letting us know about it. :)