зеркало из https://github.com/mozilla/gecko-dev.git
25 строки
571 B
HTML
25 строки
571 B
HTML
<HTML>
|
|
<had>
|
|
<style>
|
|
input, select, label {
|
|
min-width: 100px;
|
|
max-width: 200px;
|
|
}
|
|
</style>
|
|
<BODY>
|
|
<form>
|
|
<div style="width:100px;background-color:#8888FF">100 pixels width</div>
|
|
<div style="width:200px;background-color:#88FF88">200 pixels width</div>
|
|
<div style="min-width: 100px;max-width: 200px;background-color:#FF8888">Div with min/max</div>
|
|
<input type=text><br>
|
|
<input type=text size=50><br>
|
|
<select>
|
|
<option>One
|
|
</select><br>
|
|
<select size=5>
|
|
<option>One
|
|
</select><br>
|
|
<label style="background-color:#88FF88">Label</label>
|
|
</BODY>
|
|
</HTML>
|