CSS实现页面两列布局与三列布局的方法示例

2020-05-14 07:17:18易采站长站整理

            /*(二)、这里是百分比或者像素值,对应上面的left、right中的width就是百分比或者像素值*/     
            /*margin-left:15%;        
            margin-right:15%;*/     
        }     
        #footer {     
            background: blue;     
            height: 50px;     
            width: 100%;     
            position: absolute;     
            bottombottom: 0;     
        }     
    </style>     
</head>     
<body>     
    <form id="form1" runat="server">     
        <div>     
            <div id="header">     
                上       
                <div id="h_menu">     
                    上_底     
                </div>                  
            </div>     
            <div id="middle">     
                <div class="left">     
                    中左