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

推荐订阅源

Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
腾讯CDC
T
Threatpost
L
Lohrmann on Cybersecurity
P
Proofpoint News Feed
The Cloudflare Blog
博客园 - 聂微东
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Project Zero
Project Zero
Simon Willison's Weblog
Simon Willison's Weblog
S
Schneier on Security
Spread Privacy
Spread Privacy
The GitHub Blog
The GitHub Blog
D
DataBreaches.Net
S
Securelist
Schneier on Security
Schneier on Security
Microsoft Azure Blog
Microsoft Azure Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Cisco Talos Blog
Cisco Talos Blog
博客园 - 叶小钗
量子位
I
InfoQ
J
Java Code Geeks
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
博客园_首页
C
CERT Recently Published Vulnerability Notes
I
Intezer
Y
Y Combinator Blog
T
Tailwind CSS Blog
Microsoft Security Blog
Microsoft Security Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
A
About on SuperTechFans
A
Arctic Wolf
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Vercel News
Vercel News
PCI Perspectives
PCI Perspectives
The Last Watchdog
The Last Watchdog
月光博客
月光博客

博客园 - 空格

Alan Cooper 的交互设计观 [网摘] FLV播放器 源码二例 把视频文件自动的在服务器端转换成FLV文件的FFMPEG的编译方法[网摘] 完美简单的loading外部文件. 良心 如何量化用户体验UE(How To Quantify The User Experience)[网摘] 我的第一次涂鸦 为鼎盛设计的片头 为世道设计公司的片头 让你的网站上实时更新各大网站的新闻 - 空格 - 博客园 创意设计手法 [网摘] 网站策划方案写作、演示标准[转] 未来网站策划呈现5大趋势 [网摘] 互联网创业------建立强有力的执行文化[网摘] 关于Web 2.0 网站的创业思考[转] 关于web3.0的标准:吃喝买卖随己 Web2.0三大营销变革 WEB3.0标准的核心 也谈论坛“BBS2.0”的十大升级方向 [网摘]
左右均自适应高度
空格 · 2006-10-24 · via 博客园 - 空格

css:
.outer,.inner{
 width:200px;
}
.outer {
 margin:10px 0;
 background:red;
 color:#fff;
 display:table;
}
.inner{
 float:right;
 margin-left:200px;
 background:blue;
}
.right{
 float:right;width:180px;
}
.left
{
 float:left;width:180px;
 margin-left:-200px;
}

HTML:
    <div class="outer">
        <div class="inner">
            <div class="right">
                如果这边高于另一边,那另一边也会自适应这边的高度
            </div>
            <div class="left">
                低
            </div>
        </div>
    </div>
    <div class="outer">
        <div class="inner">
            <div class="right">
                低
            </div>
            <div class="left">
                如果这边高于另一边,那另一边也会自适应这边的高度
            </div>
        </div>
    </div>