blob: 7edc2f6eb5f0deb1471dab44f29e519c51696297 (
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
|
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body:first-letter { float: right; }
</style>
<script type="text/javascript">
function boom()
{
var t = document.body.firstChild;
var se = document.getElementById("se");
se.appendChild(t); // !!!
document.body.appendChild(se);
se.appendChild(document.createTextNode(" "));
}
</script>
</head>
<body onload="boom();">ﺷ
<div id="se" style="display: none;"></div></body>
</html>
|