zoukankan      html  css  js  c++  java
  • 等高布局

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>等高布局</title>
    <style>
    .box{width:800px;margin:100px auto;overflow:hidden;}
    .left{width:300px;background:red;padding-bottom:2000px;margin-bottom:-2000px;float:left;}
    .right{width:500px;background:green;padding-bottom:2000px;margin-bottom:-2000px;float:left;}
    </style>
    </head>
    
    <body>
    <div class="box">
        <div class="left">
            尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试添      尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试      尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试      尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试      尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试      尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试      尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试加内容尝试添加内容
            尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试添加内容尝试添加内容
        </div>
        <div class="right">aa</div>
    </div>
    </body>
    </html>
  • 相关阅读:
    .NET破解之百分百营销软件系列
    未在本地计算机上注册“microsoft.ACE.oledb.12.0”提供程序
    .NET破解之百度网盘批量转存工具
    The system clock has been set back more than 24 hours
    64位系统中读写注册表
    FME2014汉化问题
    FME中Cass扩展属性转Shp的方法
    Hosts文件小结
    浅谈Java中的equals和==
    mysql读写分离
  • 原文地址:https://www.cnblogs.com/tinyphp/p/3643448.html
Copyright © 2011-2022 走看看