Well....I'm putting drop down menus on my website and my Myspace, and I searched for a snippet that made the drop down words center. Couldn't find anything. Does anyone know how to make this code center through out the entire menu? <select style="font-size:12px;color:#FF0000;font-family:Comic Sans;background-color:#000000;font-weight:bold;" name="menu"> <option value>M*A*S*H*</option> <option value>Viva La Bam</option> <option value>Futurama</option> <option value>Family Guy</option> <option value>Simpsons</option> </select></p> Code (markup):
Well if you are trying to center it on the page or section than just put this <center> at the beginning of your code and it should center it!!
A> not what he's asking B> <CENTER>?!? How 1997 of you. On topic - It's in the specs that styling should not be able to be applied to the <option> tag - Opera and Safari obey this, but I believe firefox will actually work if you put option { text-align:center; } Not 100% sure on that though - I know it works with colors (which it is NOT supposed to)