我试图风格我的窗体按钮,我遇到了一个问题,在Firefox中,我不能到达的底部…
我想对某些< a /> s和< input type =“submit”/>进行风格外观的设计(我有一个按钮背景图片,使用滑动门技术应用悬停效果)。
这一切都很好,除了在Firefox中,输入提交文本略低于它应该是。 IE和Safari / Chrome工作正常。
任何人有任何想法?
谢谢
<div class="buttons"> <a href="#" class="button btn-small-grey">« Back</a> <input type="submit" class="button btn-large-green" value="Save changes" /> </div> .button { cursor: pointer; border: 0; background-color: #fff; color: #fff; font-size: 1.4em; font-weight: bold; outline: 0; font-family: Arial,Verdana,Sans-Serif; } a.button { display: block; float: left; text-align: center; text-decoration: none; padding: 5px 0 0 0; height: 22px; margin-right: 1em; } .btn-small-grey { height: 27px; width: 96px; background-position: 0 -81px; background-image: url(/assets/images/buttons/buttons-small.gif); } .btn-large-green { height: 27px; width: 175px; background-position: 0px -54px; background-image: url(/assets/images/buttons/buttons-large.gif); }@H_502_12@