为什么我的jQuery UI手风琴不能显示精确的尺寸

时间:2022-12-01 14:57:44

http://mindfulintegrations.com/signiacapital/accordian.php

I am using Jquery Accordion UI and if you look at the above page you can see it doesn't display the text correctly - the buttons are in odd places and the width of the text isn't spanning the white text block fully.

我正在使用Jquery Accordion UI,如果您查看上面的页面,您可以看到它没有正确显示文本 - 按钮位于奇数位置,文本宽度不完全跨越白色文本块。

What I want is for the accordion to be under the flash image and expand when the other buttons are clicked, and have it expand the "white background" as necessary to fit the expanded text.

我想要的是手风琴在flash图像下并在点击其他按钮时展开,并根据需要扩展“白色背景”以适合扩展文本。

I think this might have to do with the container div having a static height set - but when I try giving it a large height it still does not display properly.

我认为这可能与设置静态高度的容器div有关 - 但是当我尝试给它一个很大的高度它仍然无法正常显示。

Thanks!

1 个解决方案

#1


A quick look indicates that this in your CSS may be the culprit:

快速查看表明你的CSS可能是罪魁祸首:

.processAccord {
position:relative;
}

Why is it relative? It doesn't seem necessary.

它为什么相对?这似乎没必要。

#1


A quick look indicates that this in your CSS may be the culprit:

快速查看表明你的CSS可能是罪魁祸首:

.processAccord {
position:relative;
}

Why is it relative? It doesn't seem necessary.

它为什么相对?这似乎没必要。