我有一个带有表格的弹出窗口,表格的高度为232px 表格:
>table style="width:700px; height:232px border-collapse: collapse;" onload="">
此表有2个tableRows(tr)。第二个仅在特定条件下渲染。
如果不渲染第二行,如何使第一行占据所有高度?
我尝试过这样的max-height :(第一行):
> td id="pLightIncludeNewServices" style="width: 50%; vertical-align: top; padding: 0px;border-bottom:2px solid #DDD">
>>div style="overflow: auto; height: auto; max-height:232px">
(第二行):
>tr> /*this only renders under certain conditions*/
>>td colspan="3">
>>>div style="height: 100px; overflow: auto;">
它不起作用