<!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">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="styles/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="文件位置/你的CSS文件名.css" />
/*文件位置就是所处在的文件夹相对与当前网页的相对路径*/
</head>
<area shape="rect" coords="432,246,628,272" href="index.html" alt="進入網站" />
a:link{font-weight : bold ;text-decoration : none ;color : #c00 ;}
a:visited {font-weight : bold ;text-decoration : none ;color : #c30 ;}
a:hover {font-weight : bold ;text-decoration : underline ;color : #f60 ;}
a:active {font-weight : bold ;text-decoration : none ;color : #F90 ;}
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<meta name="author" content="ajie@netease.com,阿捷" /> 设置立站点作者信息
<meta name="Copyright" content="www.w3cn.org,自由版权,任意转载" /> 设置站点版权信息
<meta name="description" content="新网页设计师。web标准的教程站点,推动web标准在中国的应用" /> 站点的简要介绍
charset="big5"繁体字 charset=utf-8
用来介绍网站或企业的信息about.html
default.aspx
scripts脚本
头:header
内容:content/container
尾:footer
导航:nav
侧栏:sidebar
栏目:column
页面外围控制整体布局宽度:wrapper
左右中:left right center
登陆:login
登录条:loginbar
注册:regsiter
搜索:search
功能区:shop
标题:title
加入:joinus
状态:status
按钮:btn
滚动:scroll
标签页:tab
文章列表:list
提示信息:msg
当前的: current
小技巧:tips
图标: icon
注释:note
指南:guild
主要的 master.css
模块 module.css
基本共用 base.css
布局,版面 layout.css
主题 themes.css
专栏 columns.css
文字 font.css
表单 forms.css
补丁 mend.css
打印 print.css
标志:logo
广告:banner
页面主体:main
Mozilla Firefox 建议的CSS书写顺序
将文章收藏到网摘: 搜狐网摘 ViVi YouNote 你好BLOG
* mozilla.org Base Styles
* maintained by fantasai
* (classes defined in the Markup Guide -http://mozilla.org/contribute/writing/markup)
*/
/* Suggested order:
//显示属性
* display
* list-style
* position
* float
* clear
//自身属性
* width
* height
* margin
* padding
* border
* background
//文本属性
* color
* font
* text-decoration
* text-align
* vertical-align
* white-space
* other text
* content
热点:hot
新闻:news
下载:download
子导航:subnav
菜单:menu
子菜单:submenu
友情链接:friendlink
页脚:footer
版权:copyright
投票:vote
合作伙伴:partner
* {margin:0;padding:0;font-size:12px;font-family:verdna;color:#222;}
body {background:#fff;text-align:center;}
img {border:none;}
············
《Containing Floats》
《How To Clear Floats Without Structural Markup》
《CSS Discussion》
禁止换行:white-space:nowrap
强制换行:word-wrap: break-word; word-break: normal;
body{
margin:0;
padding:0;
text-align:center;
font:12px 宋体;
}
box{
margin:0 auto;
padding:0;
width:1002px;
text-align:left;
}
     
#nav li.sfhover ol