如何让div的高度自动改变,左边的图片高度不变,但是右边当展开时,整个div的高度就自动改变 10
<divclass="zaixianwx"><divclass="zaixianwxz"><divalign="center"><imgsrc="images/04.jp...
<div class="zaixianwx">
<div class="zaixianwxz" >
<div align="center"><img src="images/04.jpg" /></div>
</div>
<div class="zaixianwxy" style="height:auto;">
<#list _ShiList as shiList>
<div>
<span style="color:#09F;font-weight:bold;"> ${shiList_index + 1}、</span>
<#noescape>${(shiList.title)!""}</#noescape>
<span OnClick="SenFe_Code(this,SenFe_${shiList.articleid});" style="cursor:pointer; height:20px; width:75px;">
<img src="<@spring.url '/'/>image/xpexpand3_s.gif" width="25" height="23" style="margin-top:0px;margin-bottom:0px">
</span>
<div id="SenFe_${shiList.articleid}" style="display:none; line-height:150%;">
<b>有</b>:
<span style="color:#F60;">
<#noescape>${(shiList.content)!""}</#noescape>
</span>
</div>
</div>
</#list>
<div class="beijing">
<a href="javascript:;" onClick="seeMore(1);">更多详情>></a>
</div>
</div>
</div> 展开
<div class="zaixianwxz" >
<div align="center"><img src="images/04.jpg" /></div>
</div>
<div class="zaixianwxy" style="height:auto;">
<#list _ShiList as shiList>
<div>
<span style="color:#09F;font-weight:bold;"> ${shiList_index + 1}、</span>
<#noescape>${(shiList.title)!""}</#noescape>
<span OnClick="SenFe_Code(this,SenFe_${shiList.articleid});" style="cursor:pointer; height:20px; width:75px;">
<img src="<@spring.url '/'/>image/xpexpand3_s.gif" width="25" height="23" style="margin-top:0px;margin-bottom:0px">
</span>
<div id="SenFe_${shiList.articleid}" style="display:none; line-height:150%;">
<b>有</b>:
<span style="color:#F60;">
<#noescape>${(shiList.content)!""}</#noescape>
</span>
</div>
</div>
</#list>
<div class="beijing">
<a href="javascript:;" onClick="seeMore(1);">更多详情>></a>
</div>
</div>
</div> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询