summaryrefslogtreecommitdiffstats
path: root/research/divtest.html
blob: 487d3a327944f137ee479a2d312331f2cba15d26 (plain)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<html>
<head>


<style type="text/css" media="screen">



#div-1 {
 width:400px;
 background-color:#000;
 color:#fff;
}
#div-1-padding {
 padding:10px;
}
#div-1a {
 background-color:#d33;
 color:#fff;
}
#div-1b {
 background-color:#3d3;
 color:#fff;
}

#example div p {
 margin:0 .25em;
 padding:.25em 0;
}

#div-1 {
 position:relative;
 height:550px;
 width:500px;
}
#div-1a {
 position:absolute;
 top:0;
 left:80;
 width:200px;
 height:250px;

}
#div-1b {
 position:absolute;
 top:10;
 left:10;
 width:100px;
 height:100px;
}

</style>

</head>

<body>
<div id="example">

<div id = "div-1">

<div id="div-1a">
<p>id = div-1a</p>

<div id="div-1b">
<p>id = div-1b</p>
<p>Lorem ipsum dolor sit amet</p>
</div>
</div>

<img id="image" src="image.jpeg"></img>
</div>




</div><!-- /id=example -->

</body>
</html>