@* 定义全局样式 *@
<style>
body, ul, li, p, h1, h2, h3, h4, h5, h6, hr, span, form, fieldset, table, td, img, div, dl, dt, dd, input
- {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- body, html
- {
- font: 14px/28px "Microsoft YaHei";
- width: 100%;
- height: 100%;
- }
- a
- {
- text-decoration: none;
- outline: none;
- }
- img
- {
- list-style: none;
- border: none;
- display: block;
- margin: 0 auto;
- }
- ul
- {
- list-style: none;
- }
- input, select, textarea
- {
- outline: none;
- border: none;
- }
- input:focus
- {
- outline: none;
- }
- textarea
- {
- resize: none;
- }
- *
- {
- Word-break: break-all;
- }
- .clear:after
- {
- content: "";
- display: block;
- clear: both;
- }
- .clear
- {
- zoom: 1;
- }
- table tr td
- {
- border: 0px solid #0b0101;
- overflow: hidden;
- }
- HTML
- {
- overflow-x: hidden;
- overflow-y: auto;
- }
- </style>
来源: http://www.bubuko.com/infodetail-2967062.html