zoukankan      html  css  js  c++  java
  • FireFox自动撑高层解决方案

    <!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>
    </head>
    <body>
    <div style="402px;float:left;">
        
    <div style="400px;height:80px;border:1px solid #f00;">
            
    <h5>自动增高DIV,适合FireFox</h5>
            
    <p>这是没有使用解决方案时显示方面,会和下面的DIV产生重叠,没有自动撑开,为了方便区分,此DIV加了红色边框</p>
        
    </div>
        
    <div style="400px;height:50px;border:1px solid #00f;">
            
    <p>此处为下方显示的层,方便区分此层加了蓝色框</p>
        
    </div>
    </div>
    <div style="402px;float:left;margin-left:10px;">
        
    <div style="400px;height:50px;border:1px solid #f00;overflow:auto;height:100%;">
            
    <h5>自动增高DIV,适合FireFox</h5>
            
    <p>此处有使用解决方案时显示方面,会自动撑开,为了方便区分,此DIV加了红色边框</p>
        
    </div>
        
    <div style="400px;height:50px;border:1px solid #00f;">
            
    <p>此处为下方显示的层,方便区分此层加了蓝色框</p>
        
    </div>
    </div>
    </body>
    </html>
  • 相关阅读:
    c# 无边框窗体显示任务栏菜单(系统菜单)
    C# 任务栏的相关信息
    C# 获取屏幕尺寸
    C# winform 中的Form 源码
    C# datagridview 的属性及事件
    C# datagridview 中添加下拉框,并绑定selectedindexchanged事件
    C# 键盘事件
    Struts2的国际化
    Struts2类型转换器
    Struts2的运行流程以及关键拦截器介绍
  • 原文地址:https://www.cnblogs.com/ywkpl/p/1591704.html
Copyright © 2011-2022 走看看