div 使用float后自适应高度无效解决办法

 代码如下 复制代码
<style>
#main{float:left;min-height:500px;}
#l{float:left;margin-bottom:10px;margin-right:10px;padding:6px 10px;width:117px;}
#r{float:right;margin-right:10px;padding-top:10px;width:864px;overflow:hidden;}
</style>
 
<div id=”main”>
  <div id=”l”> 标题区域 </div> 
  <div id=”r”> 内容区域</div> 
</div>
div 使用float后自适应高度无效解决办法

相关文章:

你感兴趣的文章:

标签云: