зеркало из https://github.com/mozilla/pjs.git
25 строки
493 B
HTML
25 строки
493 B
HTML
<!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="-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>
|
|
|
|
</html>
|