.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; }
And this is my button:
<label id="SD_mrs_t" class="ui_btn" for="SD_mrs"> <input id="SD_mrs" value="More Specific" type="button"/> </label>
As a result, the button in Firefox has something like:
padding: 9px 8px!important;
Is there any solution without defining special parameters for the Mozilla browser?
html css
user1018209
source share