mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
21 lines
394 B
HTML
21 lines
394 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
div {
|
|
border: 3px solid red;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table border="1">
|
|
<td>
|
|
<div id="d">test test test tes tes tes test es </div>
|
|
</td>
|
|
</table>
|
|
<script type="text/javascript">
|
|
var v = document.body.offsetHeight;
|
|
document.getElementById("d").style.width = "100px";
|
|
</script>
|
|
</body>
|
|
</html>
|