mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 09:20:15 +01:00
44 lines
1.6 KiB
HTML
44 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 input hidden 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><input type="hidden"></p>
|
||
|
<p>intrinsic width long nonbreakable text</p>
|
||
|
<p><input type="hidden" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"></p>
|
||
|
<p>fixed width</p>
|
||
|
<p><input type="hidden" class="fixed"></p>
|
||
|
<p>intrinsic width inside table</p>
|
||
|
<table border><tr><td><input type="hidden"></td></tr></table>
|
||
|
<p>intrinsic width inside tight table cell</p>
|
||
|
<table border><tr><td class="tight"><input type="hidden"></td></tr></table>
|
||
|
<p>fixed width inside table</p>
|
||
|
<table border><tr><td><input type="hidden" class="fixed"></td></tr></table>
|
||
|
<p>fixed width inside smaller table cell</p>
|
||
|
<table border><tr><td class="tight"><input type="hidden" class="fixed"></td></tr></table>
|
||
|
<p>pctwidth inside auto table</p>
|
||
|
<table border><tr><td><input type="hidden" class="pct"></td></tr></table>
|
||
|
<p>pct width inside fixed width table cell</p>
|
||
|
<table border><tr><td class="tight"><input type="hidden" class="pct"></td></tr></table>
|
||
|
<p>pct width inside pct width table cell</p>
|
||
|
<table border class="wide"><tr><td class="cellpct"><input type="hidden" class="pct"></td></tr></table>
|
||
|
|
||
|
|
||
|
<a href="input_file_strict.html">previous: input type:file</a> <a href="input_image_strict.html">next: input type:image</a>
|
||
|
|
||
|
</body>
|
||
|
|
||
|
</html>
|