blob: 24d577ea310fd63d255d7a6628cfa3610420c960 (
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
|
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
div { height: .5em; margin: 1em; }
</style>
<script type="text/javascript">
function boom()
{
document.getElementById("b").style.padding = "";
document.getElementById("a").style.padding = "12em";
}
</script>
</head>
<body onload="boom();" style="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>
</html>
|