`
liyuan462
  • 浏览: 49583 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

Web开发常用xhtml与css模板

    博客分类:
  • web
阅读更多

xhtml模板:

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
</head>
<body>
</body>
</html>

 

css模板

/*<<<clear*/

html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, pre, code, address, variable, form, fieldset, blockquote {
 padding: 0;
 margin: 0;
 font-size: 100%;
 font-weight: normal;
}
table { border-collapse: collapse; border-spacing: 0; }
td, th, caption { font-weight: normal; text-align: left; }
img, fieldset { border: 0; }
ol { padding-left: 1.4em; list-style: none; }
ul { padding-left: 1.4em; list-style: none; }
q:before, q:after { content:''; }

/*clear>>>*/


body {
	font-size: 14px;
	font-family: "宋体", Arial, Helvetica, sans-serif;
}


/*body wrapper*/

#whole {
	width: 960px;
	margin: 0 auto;
}


/*<<<common*/

/*common>>>*/

 
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics