Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
覆盖孙子元素的parent.Reshable属性,可能使用css?_Css_Jquery Ui - Fatal编程技术网

覆盖孙子元素的parent.Reshable属性,可能使用css?

覆盖孙子元素的parent.Reshable属性,可能使用css?,css,jquery-ui,Css,Jquery Ui,我有一个主父div,即.resizeable()。其中一个是子div,比如bottomChild有很多其他的子div,它们也可以调整大小。但是,它们有文本,并且该文本不调整大小,因此与其他同级div内容重叠。我想要的是它们不调整大小,而是显示一个滚动条,以便用户可以滚动浏览bottomChild并查看内容。我在另一个子Div中有一个GridView,比如topChild,这会自动发生在GridView中。我也想为bottomChild模拟一下。有人知道怎么做吗 这是一个运行样本- 尝试调整黑色父

我有一个主父div,即.resizeable()。其中一个是子div,比如bottomChild有很多其他的子div,它们也可以调整大小。但是,它们有文本,并且该文本不调整大小,因此与其他同级div内容重叠。我想要的是它们不调整大小,而是显示一个滚动条,以便用户可以滚动浏览bottomChild并查看内容。我在另一个子Div中有一个GridView,比如topChild,这会自动发生在GridView中。我也想为bottomChild模拟一下。有人知道怎么做吗

这是一个运行样本- 尝试调整黑色父div的大小,并查看内容重叠。

我已经解决了您的问题:

只需删除一些额外的代码:D


不要使用相对高度(%)。当你使用可拖动div时

你能给我看一下你的部分代码吗?@EmRa228我已经添加了一个jsfiddle供你参考谢谢@EmRa228!这确实是问题所在!