blob: dc6e379fcff9667c42155176c6fbb4c79f6d534c (
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
|
<html>
<head>
<style>
#colset {
width: 300pt;
height: 2in;
column-count: 3;
column-gap: 0;
}
.ocontainer {
height: 0;
}
.overflow {
height: 5in;
}
</style>
<script>
function boom()
{
var newDiv = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
var colset = document.getElementById("colset");
colset.insertBefore(newDiv, colset.childNodes[1]);
}
</script>
</head>
<body onload="boom();">
<div id="colset"><div class="ocontainer"><div class="overflow"></div></div> </div>
</body>
</html>
|