删除手风琴标签页标题与其内容之间的空格? [英] Removing Space between accordion panel tab header and its content?
本文介绍了删除手风琴标签页标题与其内容之间的空格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以移除手风琴面板标签标题和该标签中的内容之间的空格?
Is it possible to remove the space between accordion panel tab header and the content that comes within that tab ?
在上面的链接中,我们可以删除
In the above link, can we remove the space between the godfather-part-I and the image that appears in that tab ?
我尝试过:
.ui-accordion .ui-accordion-content {
margin-top:10px;
}
但它与标签页重叠。
任何建议?
推荐答案
从.ui- accordion。手风琴内容,并在其子表中添加cellpadding =0和cellpacing =0。
Remove the Padding from ".ui-accordion .ui-accordion-content" and add cellpadding="0" and cellspacing="0" in it's child table.
.ui-accordion .ui-accordion-content{
border-top: 0 none;
margin-bottom: 2px;
margin-top: -2px;
overflow: auto;
padding: 0;
position: relative;
top: 1px;
}
这篇关于删除手风琴标签页标题与其内容之间的空格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文