开发者

Removing space between fieldsets

I have a fieldset that contains a number of nested fieldsets that are开发者_如何转开发 dynamically added and removed.

However, I want the nested fieldsets to be displayed similar to a form e.g. with not much space between elements. However, each fieldset has a gap between then & I don't know how to remove this. I tried using bodystyle on the parent fieldset but that had no effect.

I am using this method as it's easier to add/remove the "rows" in the form.


You need to set bodyStyle on each of the nested fieldsets, not on the parent fieldset.

Depends on the parent fielset's layout but try bodyStyle:'padding:0px' on each of nested fieldsets.
On parent fieldset, you set defaults:{bodyStyle:'padding:0px'}

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜