CSS: Size of buttons in Chrome is different than Firefox

后端 未结 8 747
名媛妹妹
名媛妹妹 2021-01-31 10:18

I have the following HTML code:


...
...
8条回答
  •  借酒劲吻你
    2021-01-31 11:09

    I've tried now to modify height and padding in the same time.

    The result it's quite good. Seems to be correct for both browsers (FF and Chrome in Linux)... for example i've put:

    .classname {
    height:20px;
        padding:4px;
    }
    

    Maybe it's just my lucky day... however you can try it.

提交回复
热议问题