mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 19:50:12 +01:00
46 lines
1.6 KiB
HTML
46 lines
1.6 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
|
||
|
|
||
|
<title>form sizing textarea strict mode</title>
|
||
|
<style type="text/css">
|
||
|
.fixed {width:50px}
|
||
|
.tight {width:20px}
|
||
|
div {border:blue 1px solid}
|
||
|
.pct {width:10%}
|
||
|
.cellpct{width:100%}
|
||
|
.wide {width:200px}
|
||
|
</style>
|
||
|
</head>
|
||
|
<p>intrinsic width:</p>
|
||
|
<p><textarea></textarea></p>
|
||
|
<p>intrinsic width long nonbreakable text</p>
|
||
|
<p><textarea>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</textarea></p>
|
||
|
<p>fixed width</p>
|
||
|
<p><textarea class="fixed"></textarea></p>
|
||
|
<p>intrinsic width inside table</p>
|
||
|
<table border><tr><td><textarea></textarea></td></tr></table>
|
||
|
<p>intrinsic width inside tight table cell</p>
|
||
|
<table border><tr><td class="tight"><textarea></textarea></td></tr></table>
|
||
|
<p>fixed width inside table</p>
|
||
|
<table border><tr><td><textarea class="fixed"></textarea></td></tr></table>
|
||
|
<p>fixed width inside smaller table cell</p>
|
||
|
<table border><tr><td class="tight"><textarea class="fixed"></textarea></td></tr></table>
|
||
|
<p>pctwidth inside auto table</p>
|
||
|
<table border><tr><td><textarea class="pct"></textarea></td></tr></table>
|
||
|
<p>pct width inside fixed width table cell</p>
|
||
|
<table border><tr><td class="tight"><textarea class="pct"></textarea></td></tr></table>
|
||
|
<p>pct width inside pct width table cell</p>
|
||
|
<table border class="wide"><tr><td class="cellpct"><textarea class="pct"></textarea></td></tr></table>
|
||
|
|
||
|
|
||
|
|
||
|
<a href="button_button_strict.html">previous: button type:button</a> <a href="fieldset_strict.html">next: fieldset</a>
|
||
|
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|