开发者

Text Input and Image Firefox Alignment Issue

I am pulling me hair out about this one. http://www.nettunes.co.za/build/contact.php

开发者_StackOverflow中文版

I have an image at the end of a text input that is styled with a background image, here is the css: .text_input{ background:url(../images/forms/text_input_back.png) top left no-repeat; width:479px; border-style:none; font-size:18px; color:#cacaca; padding-top:12px; padding-bottom:12px; padding-left:15px; }

In all browsers except firefox, the alignment is fine. In firefox the image at the end of the text input is 1px too low.

Any help here would be massively appreciated,

Thank you


Remove padding-top and padding:bottom from .text_input and use height:45px; instead

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜