style the dropdown; reformat the dropdown code