IE7 自定义输入提交按钮出现奇怪的填充问题
我有自定义样式的输入提交按钮。我有一个背景图像,然后使用 padding-left 来定位文本。
我的问题是在 IE7 上,即使我专门将填充设置为 23px,文本的位置也不同。
请看一下小提琴,http://jsfiddle.net/clintongreen/4zx6p/
谢谢: )
I have custom styled input submit buttons. I have a background image and then I have used padding-left to position the text.
My problem is on IE7 the text is positioned differently even though I have specifically set the padding at 23px.
Please take a look at the fiddle, http://jsfiddle.net/clintongreen/4zx6p/
Thanks :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我添加 text-align:left; 后,这个谜就解决了。你可以在这里看到更新的小提琴, http://jsfiddle.net/4zx6p/12/
The mystery was solved when I added text-align:left; you can see the updated fiddle here, http://jsfiddle.net/4zx6p/12/