I have a select box I made,that looks OK on every browsers except IE8 ,in IE8 the items are near the bottom and not in the middle.
Asked
Active
Viewed 521 times
1
-
possible duplicate: [I want to vertical-align text in select box](http://stackoverflow.com/q/5439782/944681) – Michal Klouda Nov 14 '12 at 16:08
1 Answers
3
Use padding
instead of the height
property to style the select
list ...
select { padding:4px 0; }

Alex
- 34,899
- 5
- 77
- 90
-
ok,but if I do that the narrow in the right side is not longer in the right height.... – Lir An Nov 14 '12 at 16:12