source: branches/2.2/filemanager/tp/dompdf/www/test/media.html @ 3019

Revision 3019, 2.9 KB checked in by amuller, 14 years ago (diff)

Ticket #1135 - Corrigindo CSS e adicionando filemanager

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head>
2<link rel="stylesheet" media="screen, projection" href="css/linkdisplay.css">
3<link rel="stylesheet" media="print" href="css/linkprint.css">
4<link rel="stylesheet" media="all" href="css/linkall.css">
5<link rel="stylesheet" href="css/linkdefault.css">
6<style>
7@page { margin:1cm; color:#0000ff; font-family:sans-serif;}
8
9@media print {
10  p.media {background-color:#eeeeee;}
11}
12@media screen {
13  p.media {background-color:#c0c0ff;}
14}
15@media projection {
16  p.media {background-color:#ffffc0;}
17}
18
19@import url(css/importall.css);
20@import url(css/importprint.css) print;
21@import url(css/importdisplay.css) projection, screen;
22
23@import url(css/importsub.css);
24
25@import url(/absimagetest/importabs.css);
26
27body { background-color:#eeeeee; margin:0pt; padding:1cm; border:0.5pt solid red; }
28</style>
29<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
30</head>
31<body>
32<h1>css @media media types</h1>
33<p class="media">
34Depending on dompdf_config.inc.php setting DOMPDF_DEFAULT_MEDIA_TYPE here the
35background color appeares different:
36</p>
37<ul>
38<li>print: light gray</li>
39<li>screen: light blue</li>
40<li>projection: light yellow</li>
41</ul>
42
43<h1>css @import media types</h1>
44<p class="import">
45Depending on dompdf_config.inc.php setting DOMPDF_DEFAULT_MEDIA_TYPE here the
46background color appeares different:
47</p>
48<ul>
49<li>print: light gray</li>
50<li>screen or projection: light blue</li>
51<li class="import">all: this line yellow</li>
52</ul>
53
54<p class="importsub">yellow by import css from subfolder</p>
55
56<p class="importabs">yellow by import css from absolute local folder.
57Note: Only works if www\test\images/importabs.css was copied to /absimagetest/importabs.css
58</p>
59
60
61<h1>css link media types</h1>
62<p class="link">
63Depending on dompdf_config.inc.php setting DOMPDF_DEFAULT_MEDIA_TYPE here the
64background color appeares different:
65</p>
66<ul>
67<li>print: light gray</li>
68<li>screen or projection: light blue</li>
69<li class="link">all: this line yellow background with red color</li>
70</ul>
71
72
73<p>x</p>
74<p>x</p>
75<p>x</p>
76<p>x</p>
77<p>x</p>
78<p>x</p>
79<p>x</p>
80<p>x</p>
81<p>x</p>
82<p>x</p>
83<p>x</p>
84<p>x</p>
85<p>x</p>
86<p>x</p>
87<p>x</p>
88<p>x</p>
89<p>x</p>
90<p>x</p>
91<p>x</p>
92<p>x</p>
93<p>x</p>
94<p>x</p>
95<p>x</p>
96<p>x</p>
97<p>x</p>
98<p>x</p>
99<p>x</p>
100<p>x</p>
101<p>x</p>
102<p>x</p>
103<p>x</p>
104<p>x</p>
105<p>x</p>
106<p>x</p>
107<p>x</p>
108<p>x</p>
109<p>x</p>
110<p>x</p>
111<p>x</p>
112<p>x</p>
113<p>x</p>
114<p>x</p>
115<p>x</p>
116<p>x</p>
117<p>x</p>
118<p>x</p>
119<p>x</p>
120<p>x</p>
121<p>x</p>
122<p>x</p>
123<p>x</p>
124<p>x</p>
125<p>x</p>
126<p>x</p>
127<p>x</p>
128<p>x</p>
129<p>x</p>
130<p>x</p>
131<p>x</p>
132<p>x</p>
133<p>x</p>
134<p>x</p>
135<p>x</p>
136<p>x</p>
137<p>x</p>
138<p>x</p>
139<p>x</p>
140<p>x</p>
141<p>x</p>
142<p>x</p>
143<p>x</p>
144<p>x</p>
145<p>x</p>
146<p>x</p>
147<p>x</p>
148<p>x</p>
149<p>x</p>
150</html>
Note: See TracBrowser for help on using the repository browser.