div+css教程网站建设门户网站和电子商务网站CSS样式表
2012-10-15 09:03
471 查看
@charset "utf-8"; /* reset */ *{margin:0;padding:0;list-style-type:none;} a{blr:expression(this.onFocus=this.blur())}/*去掉a标签的虚线框,避免出现奇怪的选中区域*/ :focus{outline:0;} label{cursor:pointer;} img{vertical-align:middle;} table{empty-cells:show;border-collapse:collapse;border-spacing:0;} h1{font-size:16px;}h2,h3,h4{font-size:14px;}h5,h6{font-size:12px;} abbr,acronym{border:0;font-variant:normal} address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:normal;font-weight:normal} input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit} input,button,textarea,select{*font-size:100%} a,img{border:0;} a,a:visited{color:#5e5e5e; text-decoration:none;} a:hover{color:#4183C4;text-decoration:underline;} .clear{display:block;overflow:hidden;clear:both;height:0;line-height:0;font-size:0;} .clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;} .clearfix{display:inline-table;}/* Hides from IE-mac \*/ *html .clearfix{height:1%;} .clearfix{display:block;}/* End hide from IE-mac */ *+html .clearfix{min-height:1%;} .a-l{text-align:left;}.a-c{text-align:center;}.a-r{text-align:right;} .m-t{margin-top:10px;}.m-b{margin-bottom:10px;}.mlr10{margin:0 10px;display:inline;}.mr10{margin-right:10px;display:inline;} .f-l{float:left;}.f-r{float:right;} .blue{color:#3366cc;}.red{color:#ff0000;}.yellow{color:#ff6600;}.gray{color:#999;} .blank20{height:20px;overflow:hidden;display:block;} body{_background-image:url(about:blank);/*用浏览器空白页面作为背景*/_background-attachment:fixed; /* prevent screen flash in IE6 确保滚动条滚动时,元素不闪动*/ } body{font:12px/180% Arial,Lucida,Verdana,"宋体",Helvetica,sans-serif;color:#333;background:#fff;} /* layout */ .container{width:960px;margin:0 auto;}
<!--演示内容开始--> <link type="text/css" href="XX/css/style.css" rel="stylesheet" /> <script type="text/javascript" src="XX/js/jquery-1.2.6.pack.js"></script> <!--解决 IE6 背景缓存--> <!--[if IE 6]><script type="text/javascript">document.execCommand("BackgroundImageCache", false, true);</script><![endif]--> <div class="container header"> </div><!--header end--> <div class="container content"> </div><!--content end--> <div class="container footer"> </div><!--footer end--> <!--演示内容结束-->
相关文章推荐
- 后盾网原创实战网站建设教程【PS切片+html+div+css+织梦后台...
- Div+CSS 布局入门教程之二 构建网站
- 北京门户网站定制建设公司:网站SEO培训教程全套教程
- 网站建设设计前端开发需要学习html和div+css
- 网站建设 html css javascript教程
- 只要十步就能学会用CSS建设网站 CSS建站的十个步骤(图文教程)
- 比较详细的DIV+CSS布局网页对网站SEO的影响
- css+div学习网站
- DIV+CSS布局网站对SEO有什么好处?
- CSS教程:div垂直居中的N种方法
- Div+CSS布局入门教程
- 韩顺平_php从入门到精通_视频教程_第17讲_div-css作业评讲③_学习笔记_源代码图解_PPT文档整理
- Div+CSS布局入门教程
- 《HTML 5+CSS 3网站布局应用教程》图书推荐
- 网站固定底部菜单(DIV+CSS)
- Div+CSS布局入门教程(一)
- Div+CSS布局入门教程
- Ubuntu15.04 网站服务器环境搭建,php/html/css等学习环境搭建教程
- Div+CSS布局入门教程5
- Div+CSS布局入门教程(1)页面布局与规划