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

推荐订阅源

Martin Fowler
Martin Fowler
Microsoft Security Blog
Microsoft Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Vercel News
Vercel News
Y
Y Combinator Blog
D
DataBreaches.Net
IT之家
IT之家
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
WordPress大学
WordPress大学
H
Help Net Security
GbyAI
GbyAI
C
Check Point Blog
L
LangChain Blog
小众软件
小众软件
T
The Blog of Author Tim Ferriss
MyScale Blog
MyScale Blog
G
Google Developers Blog
月光博客
月光博客
V
V2EX
M
MIT News - Artificial intelligence
博客园 - 叶小钗

博客园 - 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>