Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<html><head>
<style>
select {
width: 200px;
}
option {
padding: 0;
width: 50%;
background-color: cyan;
}
</style></head><body>
<select size="3">
<option style="margin-right: auto;">left</option>
<option style="margin-left: auto;">right</option>
<option style="margin-left: auto; margin-right: auto;">center</option>
</select>
</body></html>