I've created the following...
var menu = document.createElement('select');
width: 100px
var obj= document.createElement('select'); obj.style.width= "100px";