-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_01.html
50 lines (35 loc) · 900 Bytes
/
test_01.html
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
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<title>Test 01</title>
<link rel="stylesheet" type="text/css" href="test_x.css">
<style type='text/css'>
img {
position: absolute;
top: 0px;
left: 0px;
}
#qrst {
font-size: 200px;
color: red;
font-family: sans-serif;
}
</style>
</head>
<body>
<div id='qrst'>
Q R<br>
S T
</div>
<img src="image_200x200.png" />
<div id='text'>
The image has <code>position: absolute</code>.
<br>The text does not have any position absolute.
<br>The text is behind the image:
when the <code>div</code>
comes before the <div>img</div> (this page) or after (<a href='test_02.html'>test_02.html</a>).
<br>See also <a href='test_03.html'>test_03.html</a> and <a href='test_04.html'>test_04.html</a>
</div>
</body>
</html>