source: trunk/client/inc/hpdf5/spipu/html2pdf/examples/res/example08.php@ 404

Last change on this file since 404 was 347, checked in by roby, 4 years ago

Aggiornamento per compatibilità con php7.4

File size: 2.7 KB
Line 
1<style type="text/css">
2<!--
3table
4{
5 padding: 0;
6 border: solid 1mm LawnGreen;
7 font-size: 12pt;
8 background: #FFFFFF;
9 text-align: center;
10 vertical-align: middle;
11}
12
13td
14{
15 padding: 1mm;
16 border: solid 1mm black;
17}
18
19td.div
20{
21 width: 110px;
22 height: 110px;
23 text-align: left;
24 padding: 0
25}
26
27td.div div
28{
29 margin: auto;
30 background: yellow;
31 border: solid 2px blue;
32 color: red;
33 width: 100px;
34 height: 65px;
35 text-align: center;
36}
37
38-->
39</style>
40<page backcolor="#AACCFF" backleft="5mm" backright="5mm" backtop="10mm" backbottom="10mm" >
41 <table>
42 <tr>
43 <td class="div"><div style="rotate: 0;">Hello ! ceci <b>est</b> un test !<br><img src="./res/logo.png" style="width: 80px;" alt="logo"></div></td>
44 <td class="div"><div style="rotate: 270;">Hello ! ceci <b>est</b> un test !<br><img src="./res/logo.png" style="width: 80px;" alt="logo"></div></td>
45 </tr>
46 <tr>
47 <td class="div"><div style="rotate: 90;">Hello ! ceci <b>est</b> un test !<br><img src="./res/logo.png" style="width: 80px;" alt="logo"></div></td>
48 <td class="div"><div style="rotate: 180;">Hello ! ceci <b>est</b> un test !<br><img src="./res/logo.png" style="width: 80px;" alt="logo"></div></td>
49 </tr>
50 </table>
51 <br>
52 <table cellspacing="4">
53 <tr>
54 <td>a A1</td>
55 <td>aa A2</td>
56 <td>aaa A3</td>
57 <td>aaaa A4</td>
58 </tr>
59 <tr>
60 <td rowspan="2">B1</td>
61 <td style="font-size: 16pt">B2</td>
62 <td colspan="2">B3</td>
63 </tr>
64 <tr>
65 <td>C1</td>
66 <td>C2</td>
67 <td>C3</td>
68 </tr>
69 <tr>
70 <td colspan="2">D1</td>
71 <td colspan="2">D2</td>
72 </tr>
73 </table>
74 <hr>
75 <table>
76 <tr>
77 <td colspan="2">CoucouCoucou !</td>
78 <td>B</td>
79 <td>CC</td>
80 </tr>
81 <tr>
82 <td>AA</td>
83 <td colspan="2">CoucouCoucou !</td>
84 <td>CC</td>
85 </tr>
86 <tr>
87 <td>AA</td>
88 <td>B</td>
89 <td colspan="2">CoucouCoucou !</td>
90 </tr>
91 </table>
92 <hr>
93 <table style="background: #FFFFFF">
94 <tr>
95 <td>AA</td>
96 <td>AA</td>
97 <td>AA</td>
98 <td rowspan="2">AA</td>
99 </tr>
100 <tr>
101 <td>AA</td>
102 <td rowspan="2" colspan="2" >CoucouCoucou !</td>
103 </tr>
104 <tr>
105 <td>AA</td>
106 <td>CC</td>
107 </tr>
108 <tr>
109 <td colspan="2">D1</td>
110 <td colspan="2">D2</td>
111 </tr>
112 </table>
113 <hr>
114</page>
Note: See TracBrowser for help on using the repository browser.