blob: 454178c189bc2195521c5815787f0c04f5ac5580 (
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
|
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.container {
position: relative;
}
#colset {
-moz-column-count: 3;
-moz-column-gap: 0;
border: silver 2pt;
border-style: none solid;
}
.b1 {
position: absolute;
height: 336pt;
margin-left: 20pt;
}
.b2 {
position: absolute;
height: 192pt;
width: 25pt;
margin-left: 50pt;
}
</style>
<script type="text/javascript">
function boom()
{
newDiv = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
newDiv.setAttribute("class", "b1");
document.getElementById("f").appendChild(newDiv);
}
</script>
</head>
<body onload="boom();">
<div id="colset"><div class="container"><div class="b2"></div><div id="f"></div></div></div>
</body>
</html>
|