Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我做了一个选择框,在除 IE8 之外的所有浏览器上看起来都不错,在 IE8 中,项目靠近底部而不是中间。
链接: https ://dl.dropbox.com/u/107452929/select/index.html
使用padding而不是height属性来设置列表样式select...
padding
height
select
select { padding:4px 0; }