Setting the height of a SELECT in IE

前端 未结 14 1949
忘掉有多难
忘掉有多难 2020-12-03 04:24

IE seems to ignore the height set in CSS when rendering a HTML SELECT. Are there any work around\'s for this or do we have to just accept IE will not look as good as other b

14条回答
  •  天命终不由人
    2020-12-03 05:04

    Even though setting a CSS height value to the select element does not work, the padding attribute works alright. Setting a top and bottom padding will make your select element look taller.

提交回复
热议问题