|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 |
|
5 <style type="text/css"> |
|
6 |
|
7 div { height: .5em; margin: 1em; } |
|
8 |
|
9 </style> |
|
10 |
|
11 <script type="text/javascript"> |
|
12 |
|
13 function boom() |
|
14 { |
|
15 document.getElementById("b").style.padding = ""; |
|
16 document.getElementById("a").style.padding = "12em"; |
|
17 } |
|
18 |
|
19 </script> |
|
20 </head> |
|
21 |
|
22 <body onload="boom();" style="-moz-column-width: 2em;"><div id="a"></div><div></div><div></div><div id="b" style="padding: 12em;">This is text</div>This is textThis is text<div>This is text</div></body> |
|
23 |
|
24 </html> |