How to center text in a select list
Posted
by Micah
on Stack Overflow
See other posts from Stack Overflow
or by Micah
Published on 2010-06-09T02:04:07Z
Indexed on
2010/06/09
2:12 UTC
Read the original article
Hit count: 180
I'm having trouble styling a select list in an html form. Basically I want it to have a font size of 12px, and a height of 30px; The problem is that the box is drawn to the right hight, but the text rendering varies in each browser. In FireFox it renders it in the top left corner. I want to vertically center the text. Anyone know of a way to do this or do I need to make something custom out of a ul?
Thanks
© Stack Overflow or respective owner