.ui_btn , .sub_txt {
margin: 2px 0px 2px 3px;
background:#181c18;
cursor: pointer;
display: inline-block;
text-align: center;
text-decoration: none;
text-transform:lowercase;
}
.ui_btn input, .sub_txt input , .disabled input{
border-spacing: 0px;
background: none;
color: #fff;
outline:0!important;
margin:0!important;
cursor: pointer;
display: inline-block;
font-weight: bold;
border: 1px solid #181c18;
font-family: Arial, sans-serif;
font-size: 11px;
padding: 7px 6px!important;
white-space: nowrap;
text-transform:lowercase;
line-height: 12px!important;
}
Và đây là nút của tôi:Tại sao nút Firefox lại lớn hơn?
<label id="SD_mrs_t" class="ui_btn" for="SD_mrs">
<input id="SD_mrs" value="More Specific" type="button"/>
</label>
Là một nút kết quả trong Firefox có cái gì đó như:
padding: 9px 8px!important;
Có giải pháp nào mà không cần định nghĩa các thông số đặc biệt dành cho trình duyệt Mozilla?
Vẫn có cùng kích thước = \ –
Đó là những gì tôi sẽ làm, cách tốt nhất có thể là xác định các thông số cho firefox trực tiếp, nhưng tôi chờ một phút đầu tiên nhìn thấy khi ai đó ở đây nhất định có câu trả lời. –