Project

General

Profile

Defect #1240 » sample.html

Wouter Moerdijk, 06/27/2017 10:23 AM

 
1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
4
<head>
5
<style>
6
@media print
7
  {
8
  * {font-family:Tahoma;font-size:10px;}
9
  }
10
  
11
  .break { page-break-after: always; }
12
  
13
</style>
14
<style type="text/css" media="print">
15
	@page {
16
		size: A4 landscape;
17
		
18
		@bottom-left { content: "Example, Page " counter(page) " of " counter(pages);
19
					font-family: sans-serif; font-size: 8pt; }
20
		@bottom-right { content: "BSN:$!care_person.bsn Name:$!care_person.name_displayed";
21
			font-family:sans-serif; font-size: 8pt;}
22
		margin: .4in;
23
		@top-left {content: '';}
24
	}
25
	table {
26
		-fs-table-paginate: paginate;
27
	}
28
</style>
29
</head>
30
<body>
31
<div>sample text</div>
32
<div>The footer is using sans-serif. This seems to work. Tahoma is not. </div>
33
</body>
34
</html>
(1-1/2)