File: css_baseline.html

package info (click to toggle)
php-dompdf 0.6.1%2Bdfsg-2~bpo70%2B2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 4,200 kB
  • sloc: php: 19,599; makefile: 38; sh: 13
file content (53 lines) | stat: -rw-r--r-- 937 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<title></title>

<style type="text/css">
body {
  /*text-decoration: underline;*/
  font-size: 50px;
}

#one span {
	vertical-align: baseline;
}

#two span {
  vertical-align: top;
	color: green;
  text-decoration: underline;
}

span.first {
	font-size: 2em;
  text-decoration: underline;
}

span.second {
	font-family: sans-serif;
	font-weight: bold; 
	color: rgb(255, 66, 0);
  font-style: italic;
  text-decoration: underline;
}

span.third {
	font-family: sans-serif;
	font-size: 1em;
  text-decoration: underline;
}
</style>
</head>
<body>

<p id="one">
<span class="first">(enter </span><span >your </span><span class="second">text</span><span class="third"> here)</span>
</p>

<p id="two">
<sup>sup</sup>test<sub>sub</sub>
</p>

</body>
</html>