能否按钮填充在jQuery Mobile的调整? [英] Can the button padding be adjusted in Jquery Mobile?
本文介绍了能否按钮填充在jQuery Mobile的调整?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请参阅此页面上的按钮: http://rchobbystream.com/main.html
Please see the buttons on this page: http://rchobbystream.com/main.html
是否有可能消除在每个按钮图像周围的空白?我一直在寻找了一段时间,我不能看到这是在CSS文件中表示。
Is it possible to eliminate the white space around the image in each button? I have been looking for a while and I can not see where this is indicated in the CSS file.
感谢您
推荐答案
是的,它的类是:
.ui-btn-inner
如果您使用萤火你可以盘旋在它与检查按键很容易看到它。
If you use firebug you can see it very easily by hovering over it with the inspect button.
您的CSS覆盖应该是这样的(填充变为0):
Your CSS override should look like this (padding changed to 0):
.ui-btn-inner {
padding: 0;
}
这篇关于能否按钮填充在jQuery Mobile的调整?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文