<!DOCTYPE html> <html> <body> <form name="theForm"> <select name="theSelect" style="width:auto"> <option>xxxxxxxxxx</option> </select> </form> </body> </html>