开发者

JQuery Accordian Width Style Issue

I am trying to add some padding or space in between each of the Anchor Tag Questions for an Accordian.

Can someone guide me on what to change in the CSS?

Im trying to apply the same width between each of the Toggle Questions in this example: http://jsfiddle.net/NinjaSk8ter/yXNmx

For the Accordian Questions that is in this example (witho开发者_Go百科ut any Jitter Effect): http://jsfiddle.net/NinjaSk8ter/Jv8Ta

This isnt for an event handler, the Question Links should have some space between them when the Page loads, as in the Toggle example above.


.question
{
  margin-bottom: 50px;
}

This pushes the next element down by 50px, which adds some space in between questions.


The padding-bottom for the Question Wrapper Factterm provides the space between Questions: http://jsfiddle.net/NinjaSk8ter/Jv8Ta/
But this also causes the Anchor Tag Handler's Background grey color to expand its height accordingly:

.active {background:#a9a9a9}

, the grey when clicked, to expand its height accordingly.

.factterm {
/*margin-top: 2px;*/
/* padding: 2px 5px 0;*/
/*width: 525px;*/
padding-bottom: 10px;
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜