blob: f7d19e5e5f7461a118166dd0598334635e7b4acf (
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
|
<html>
<head>
<style type="text/css">
body {
-moz-column-count: 2;
-moz-column-width: 100px;
height: 200px;
width: 400px;
}
.b {
height: 300px;
}
.f {
float: left;
}
.p {
padding: 0pt 200px;
}
</style>
<script type="text/javascript">
function boom()
{
var newDiv = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
var a = document.getElementById("a");
a.appendChild(newDiv);
}
</script>
</head>
<body onload="boom();"><div class="f"><span class="p"></span></div><div id="a"><div class="b f"><input></div></div></body>
</html>
|