blob: 81b076e740cdebf7cfb2f3ae152368ef262b05ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var floater = document.createElement("span");
floater.style.cssFloat = "right";
floater.appendChild(document.createTextNode("float"));
document.getElementById("s").appendChild(floater);
}
</script>
</head>
<body onload="boom();">
<span><span><span id="s"><div></div></span></span></span>
</body>
</html>
|