CSS实现页面两列布局与三列布局的方法示例
<html xmlns="<a target="_blank" href=""></a>"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <style type="text/css"> body, html { margin: 0px; } #header { background: blue; height: 100px; width: 100%; position: relative; /*父div的位置设置成相对的*/ top: 0; } #header #h_menu { position:absolute; bottombottom:0; background:yellow; width:100%; (编辑:焦作站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |