开发者

Don't allow jquery's accordion to make its container grow

开发者 https://www.devze.com 2023-03-22 12:08 出处:网络
I have a开发者_如何转开发which contains a accordion inside. It works fine, but when I open an accordion section that contains a table that apparently needs more width, it re-sizes the container.

I have a开发者_如何转开发 which contains a accordion inside.

It works fine, but when I open an accordion section that contains a table that apparently needs more width, it re-sizes the container.

How can avoid this?

Thx.


What if you make a container div around this accordian, and set the (max-)width/height to exactly what you want.. Without any code/jsfiddle that's the best I can do.


EDIT: is there any problem with this?

0

精彩评论

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