热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

CSS基本CSS结构

篇首语:本文由编程笔记#小编为大家整理,主要介绍了CSS基本CSS结构相关的知识,希望对你有一定的参考价值。

篇首语:本文由编程笔记#小编为大家整理,主要介绍了CSS 基本CSS结构相关的知识,希望对你有一定的参考价值。




html{ overflow-x:auto; }
html, body{
height:100%;
}
/* site width */
.header-holder,
.body-holder,
.footer-holder{
width:900px;
margin:0 auto;
}
.main-wrapper{
min-height:100%;
position:relative;
z-index:1;
}
.ie6 .main-wrapper{
height:100%;
}
.header-wrapper{
background:#E9EBB5;
}
.header-holder{
background:#D5D7A4;
}
.body-wrapper{
background:#BAE1FF;
padding-bottom:100px;
}
.body-holder{
background:#A8CCE9;
}
.footer-wrapper{
position:relative;
z-index:2;
background:#FFF799;
margin-top:-80px;
min-height:80px;
}
.ie6 .footer-wrapper{
height:80px;
}
.footer-holder{
background:#ECE48C;
}

html{
padding-top:100px;
}
/*






header





body







*/


推荐阅读
author-avatar
90--00_203_206
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有