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>
  • 相关阅读:
    VBS与JS变量共享与互操作
    VBA之MSForms.DataObject对象
    VBA编程的工程性规划
    WSF脚本详解:JS和VBS互调用
    HTA程序:VBS/JS脚本GUI
    Python字符串格式化
    Python __builtins__模块拾穗
    Java高级特性 第6节 注解初识
    Java高级特性 第5节 序列化和、反射机制
    Java高级特性 第4节 输入输出流
  • 原文地址:https://www.cnblogs.com/tinyphp/p/3643448.html
Copyright © 2011-2022 走看看