惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
博客园 - 【当耐特】
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
WordPress大学
WordPress大学
D
Docker
T
The Blog of Author Tim Ferriss
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
罗磊的独立博客
小众软件
小众软件
A
About on SuperTechFans
MyScale Blog
MyScale Blog
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
C
Check Point Blog
L
LangChain Blog

博客园 - ms_dos

数据库中char(13)+char(10)转换为页面的换行 System.DBNull的用法 CustomValidator验证CheckBoxList必须选择且只能选择一个 GridView编辑状态下DropDownList的联动 - ms_dos - 博客园 GridView单元格换行 - ms_dos - 博客园 js实现indexOf - ms_dos - 博客园 AspxCallBack控件的CallBack事件 js实现精确到小数点后几位的四舍五入函数 HyperLink控件邦定参数 - ms_dos - 博客园 CSS实现圆角DIV - ms_dos - 博客园 值得收藏的22个搜索下载免费PDF电子书的网站 游标的使用方法 [转]Sql Server遍历表记录 将页面滚动条置于顶端 div居中 - ms_dos - 博客园 ResolveUrl的用法 - ms_dos - 博客园 窗口全屏 动态显示男女性别的两种方法 OnClientClick属性中的换行符 - ms_dos - 博客园
JS实现一行内多列DIV同高 - ms_dos - 博客园
ms_dos · 2010-01-25 · via 博客园 - ms_dos

代码

<script language="javascript" type="text/javascript">
    
<!--
        window.onload
=window.onresize=function()
        {
            
if(document.getElementById('RDiv').clientHeight<document.getElementById('LDiv').clientHeight)
            {
                document.getElementById(
'RDiv').style.height=document.getElementById('LDiv').offsetHeight+"px";
            }
            
else
            {
                document.getElementById(
'LDiv').style.height=document.getElementById('RDiv').offsetHeight+"px";
            }
        }
    
-->
</script><div id="LDiv" style=" float:left; width:150px; background-color: #E6E6E6;">
</div>
<div id="RDiv" style=" float:left; background-color: #E9F4FF;">
</div>