|
1 <html> |
|
2 <head> |
|
3 <style> |
|
4 |
|
5 #colset { |
|
6 width: 300pt; |
|
7 height: 2in; |
|
8 -moz-column-count: 3; |
|
9 -moz-column-gap: 0; |
|
10 } |
|
11 |
|
12 .ocontainer { |
|
13 height: 0; |
|
14 } |
|
15 |
|
16 .overflow { |
|
17 height: 5in; |
|
18 } |
|
19 |
|
20 </style> |
|
21 |
|
22 <script> |
|
23 function boom() |
|
24 { |
|
25 var newDiv = document.createElementNS("http://www.w3.org/1999/xhtml", "div"); |
|
26 var colset = document.getElementById("colset"); |
|
27 colset.insertBefore(newDiv, colset.childNodes[1]); |
|
28 } |
|
29 </script> |
|
30 |
|
31 </head> |
|
32 |
|
33 <body onload="boom();"> |
|
34 |
|
35 <div id="colset"><div class="ocontainer"><div class="overflow"></div></div> </div> |
|
36 |
|
37 </body> |
|
38 </html> |