1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
<!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 button submit 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><button type="submit"></button></p>
<p>intrinsic width long nonbreakable text</p>
<p><button type="submit" >xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</button></p>
<p>fixed width</p>
<p><button type="submit" class="fixed"></button></p>
<p>intrinsic width inside table</p>
<table border><tr><td><button type="submit"></button></td></tr></table>
<p>intrinsic width inside tight table cell</p>
<table border><tr><td class="tight"><button type="submit"></button></td></tr></table>
<p>fixed width inside table</p>
<table border><tr><td><button type="submit" class="fixed"></button></td></tr></table>
<p>fixed width inside smaller table cell</p>
<table border><tr><td class="tight"><button type="submit" class="fixed"></button></td></tr></table>
<p>pctwidth inside auto table</p>
<table border><tr><td><button type="submit" class="pct"></button></td></tr></table>
<p>pct width inside fixed width table cell</p>
<table border><tr><td class="tight"><button type="submit" class="pct"></button></td></tr></table>
<p>pct width inside pct width table cell</p>
<table border class="wide"><tr><td class="cellpct"><button type="submit" class="pct"></button></td></tr></table>
<a href="input_button_strict.html">previous: input type:button</a> <a href="button_reset_strict.html">next: button type:reset</a>
</body>
</html>
|