@charset "utf-8";
/* CSS Document */

/*
理念：清除和重置是紧密不可分的
特色：1.适应中文 2.基于最新主流浏览器
*/

/* 清除内外边距 */
html, body, h1, h2, h3, h4, h5, h6, hr, pre, p, blockquote, /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
pre, /* text formatting elements 文本格式元素 */
fieldset, lengend, button, input, textarea, /* form elements 表单元素 */
th, td,  /* table elements 表格元素 */
img, 
header, footer, nav, menu, article, section, aside { /* HTML 5 元素 */
    margin: 0;
    padding: 0;
}
header, footer, nav, menu, article, section, aside { /* HTML 5 元素 */
display:block;
}
/* 设置默认字体 */

body,
button, input, select, textarea {
	font: 14px/1.5  "宋体", Tahoma, Helvetica,Arial,"\5b8b\4f53", sans-serif;
}

input{ outline:none;}
address, cite, dfn, em, var { font-style: normal; } /* 将斜体扶正 */
code, kbd, samp, tt { font-family: "Courier New", Courier, monospace; } /* 统一等宽字体 */
small { font-size: 12px; } /* 小于 12px 的中文很难阅读，让 small 正常化 */

pre, p {
 /* 必须定义宽度 */ 
word-break: break-word; /* 文本行的任意字内断开 */ 
word-wrap: break-word; /* IE */ 
white-space: -moz-pre-wrap; /* Mozilla */ 
white-space: -hp-pre-wrap; /* HP printers */ 
/*white-space: -o-pre-wrap;  Opera 7 */ 
/*white-space: -pre-wrap;  Opera 4-6 */ 
/*white-space: pre;  CSS2 */ 
/*white-space: pre-wrap;  CSS 2.1 */ 
/*white-space: pre-line;  CSS 3 (and 2.1 as well, actually) */ 
}/* 超出一定宽度自动换行 */

a, button { cursor:pointer;}
/* 重置列表元素 */
ul, ol, li { list-style: none; }

/* 重置文本格式元素 */
a { text-decoration: none; }
a:hover { text-decoration: underline; }

abbr[title], acronym[title] { /* 注：1.ie6 不支持 abbr; 2.这里用了属性选择符，ie6 下无效果 */
	border-bottom: 1px dotted;
	cursor: help;
}

q:before, q:after { content: ''; }

/* 重置表单元素 */
legend { color: #000; } /* for ie6 */
fieldset, img { border: none; } /* img 搭车：让链接里的 img 无边框 */
/* 注：optgroup 无法扶正 */
button, input, select, textarea {
    font-size: 100%; /* 使得表单元素在 ie 下能继承字体大小 */
}

/* 重置表格元素 */
table { border-collapse: collapse; border-spacing: 0; }

/* 重置 hr */
hr { border: none;  height: 1px; }

/* 让非ie浏览器默认也显示垂直滚动条，防止因滚动条引起的闪烁:同时隐藏横向滚动条 */
html { overflow-y: scroll; overflow-x: scroll; }


/* 全局定义 STRAT */
 #floatImg{position:absolute;left:0;top:0;z-index:999}
.clearfix { *zoom:1; }
.clearfix:before, .clearfix:after { display: table; content: ""; line-height: 0; }
.clearfix:after { clear: both; }
