zoukankan      html  css  js  c++  java
  • DIV+CSS三列式布局的实现方法

    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb" Inherits="Default3" %>

    <!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 runat="server">
        <title>无标题页</title>
        <style  type="text/css">
        * {
             margin:0;
             padding:0;
             font-size:1em;
           }
          
        #header {
                800px;
                height:100px;
                margin:0 auto;
            }
        #divall {
                800px;
                margin:0 auto;
                background:#06f;
                height:300px;
            }
        #footer {
                800px;
                height:60px;
                margin:0 auto;
                background:#999;
                clear:both;
            }  
         #sider_a{
                200px;
                float:left;
                background:#f93;
               }
         #main{
                float:left;
                background:#dceafc;
                margin-left:5px;
                500px;
            }
         #sider_b{
                float:right;
                90px;
                background:#ccc;
            }
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
            <div id="header" >
                sdfsdf</div>
            <div id="divall">
                <div id="sider_a" >
                    sdfsdf</div>
                <div id="main">
                    sdf</div>
                <div id="sider_b">
                    sdfsdf</div>
            </div>
            <div  id="footer" >
                sdfsdfsfsdf</div>
        </form>
    </body>
    </html>


    http://www.52css.com/article.asp?id=574
  • 相关阅读:
    误删本地分支,两天的工作量差点毁于一旦,使用git reflog 有惊无险恢复
    单点登录SSO
    IdentityServer4介绍和使用
    常见的远程无线通信技术
    4G模块和DTU模块有何区别
    以太网IO控制器
    什么是无线网关,无线网关的功能
    什么是IOT网关,网关功能有哪些
    Modbus RTU和Modbus TCP的两种区别
    数据采集网关设备 如何选择数据采集网关
  • 原文地址:https://www.cnblogs.com/zqonline/p/950805.html
Copyright © 2011-2022 走看看