共同可用的CSS模板与HTML模板
来源:网络来稿 热量:正在测温
℃
生产日期:2010-08-29 01:28
转播到微博
CSS模板与HTML模板实用于每次新开发页面使用首先给大家分享我的及CSS网页使用的开头CSS模板:
每次新开发页面的共同可用的CSS代码模板如下:
以下为引用的内容:
body, div, address, blockquote, iframe, ul, ol, dl, dt, dd, li, dl, h1, h2, h3, h4, h5, h6, p, pre, table, caption, th, td, form, legend, fieldset, input, button, select, textarea {margin:0; padding:0; font-weight: normal;font-style: normal;font-size: 100%; font-family: inherit;} copyright www.dosxp.com dosxp
ol, ul ,li{list-style: none;}
img {border: 0;}
body {color:#000;background:#FFF; text-align: center; font: 12px/1.5 Arial, Helvetica, sans-serif;}
.clearfix:after {clear:both; content:"."; display:block; height:0pt; visibility:hidden; overflow:hidden;}
.clear{clear:both;height:1px; margin-top:-1px; width:100%;}
.dis{display:block;}
.undis{display:none;}
说明下这个首先是对全站的CSS进行一次初始化,并重新赋予新属于,这样来统一整站样式。
每次新开发页面的HTML代码模板如下:
以下为引用的内容:
<!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>
<title>标题-CSS网模板</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> //记得charset=gb2312 修改你自己的语言
<meta name="keywords" content="关键字" />
<meta name="description" content="关键字描述" />
<link href="css文件路径" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="JS文件路径"></script>
</head> copyright www.dosxp.com dosxp<body>
内容
</body>
</html>
希望divcss5整理的div+css模板对你有用!希望您也把你的经验分享给大家!
您或许也对这些文章感兴趣
|
|
|
|
|
|
|
|
|
|
|
|
关键词: CSS 模板 HTML 可用 共同
- 上一篇:没有了
- 下一篇:CCS学习之ul,ol,li,dl,dt,dd标签用法
最新文章
热门文章
- DIV+CSS教程最全css+div通用兼容性代码
- div+css 兼容汇总
- 教你解决IE6,IE7,IE8不兼容问题
- 共同可用的CSS模板与HTML模板
- IE6、7、8下的CSS Bug及解决方案参考手册
- CSS技巧之如何实现CSS的自动换行
- CSS中alt属性和title属性用法
- DIV+CSS网页设计在线视频教程配图文讲解汇总
- css美化教程一句实现3种网站风格切换
- CSS文本属性的使用方法
- CSS注释书写规范
- CSS圆角与三角形实现方法
- 了解IE8兼容视图(IE7 mode)与独立IE7的区别
- 绝对定位层下margin:auto会失效
- CSS右对齐float:right换行的解决办法
- 深入学习display:inline-block的属性
- blog模版CSS中文注释
- 今天学习css中单位px和em的区别
- css基础link href调用css和@import调用css
- border:none;与border:0;的区别





2012版10套PPT商务模板打包
文章排行榜数字序号GIF图

