Text size for drop down menu/input select not working in Safari

后端 未结 12 1631
说谎
说谎 2021-02-19 00:17

First question...

I\'m having trouble getting ANY of the Drop down menu/Input Select\'s to appear with size 18 font in Safari.

Works fine in FF.

Code:

12条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-19 00:35

    You can target Safari select tag by doing this:

    select {
        width: 224px;
        line-height: 1.8;  (This can be in px too)
    }
    

提交回复
热议问题