Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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>