div+css 基本布局: 

<div ></div>
</div>

 
    <script type="text/javascript">
<!--
window.onload=window.onresize=function aa()
{
    if(document.getElementById("bb").clientHeight<document.getElementById("aa").clientHeight)
    {
        document.getElementById("bb").style.height=document.getElementById("aa").offsetHeight+"px";
    }
    else
    {
        document.getElementById("aa").style.height=document.getElementById("bb").offsetHeight+"px";
    }
}
-->
</script>

 

相关文章:

  • 2022-02-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-21
  • 2021-12-12
  • 2022-12-23
  • 2021-12-23
  • 2021-12-23
相关资源
相似解决方案