зеркало из https://github.com/mozilla/pjs.git
30 строки
540 B
HTML
30 строки
540 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
div { width: 0 }
|
|
option { white-space: normal }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<select>
|
|
<option>This is option one</option>
|
|
<option>This is option two</option>
|
|
<option>This is option three which is long</option>
|
|
<option>This is option four</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<select size="3">
|
|
<option>This is option one</option>
|
|
<option>This is option two</option>
|
|
<option>This is option three which is long</option>
|
|
<option>This is option four</option>
|
|
</select>
|
|
<div>
|
|
</body>
|
|
</html>
|
|
|
|
|