CSS: Size of buttons in Chrome is different than Firefox

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

I have the following HTML code:


...
...
8条回答
  •  南方客
    南方客 (楼主)
    2021-01-31 11:09

    form elements render differently(as defaults) depending on the OS and/or browser. if you want your form elements(input fields, submit buttons, etc.) to look the same in all instances, you have to explicitly style them using borders, paddings and margins.

提交回复
热议问题