BASE.CSS (Reset browser default style)

Source: Internet
Author: User

@CharSet "Utf-8" ;/*@ Name: base@ function: Reset browser Default style * // * Prevents users from customizing the effect of the background color on the Web page, adding lets users customize the font * /HTML {color:black;  background:White; }/ * The internal and external margins often make different browser styles behave differently * /Body,Div,DL,DT,DD,ul,ol,Li,H1,H2,H3,h4,h5,h6,Pre,Code,form,fieldset,legend,input,textarea,P,blockquote,th,TD,HR,Button,article,aside,Details,figcaption, Figure,Footer,Header,Hgroup,Menu,nav, Section {margin:0;  padding:0; }/ * Note that the form element does not inherit the parent font's problem * /Body,Button,input,Select,textarea {font:px simsun,tahoma,arial,sans-serif;} input,Select,textarea {font-size:%;} / * Remove the margins from each table cell and make the edges overlap * /Table {border-collapse:collapse;  border-spacing:0; }/ * IE bug fixed:th does not inherit text-align*/th {text-align:inherit;} / * Remove default Border * /fieldset,img {border:none;} /* IE6 7 8 (q) bug shown as in-line performance */iframe {display:block;} / * Remove the border of this element under Firefox * /abbr,acronym {border:none;  font-variant:normal; }/ * Consistent del style * /del {text-decoration:line-through;} Address,caption,cite,Code,DFN,em,th,var {font-style:normal;  font-weight:$; }/ * Remove the identification before the list, Li will inherit * /ol,ul {list-style:none;} / * Alignment is the most important factor in typography, don't let anything be centered * /caption,th {text-align:left;} / * from Yahoo, so that the title is customized to adapt to multiple system applications * /H1,H2,H3,h4,h5,h6 {font-size:%;  font-weight:$; }Q: Before,Q: After {content:';} /* Uniform superscript and subscript */Sub,sup {font-size:%;  line-height:0;  position:relative;  vertical-align:baseline; }sup {top:-0.5em;} Sub {bottom:-0.25em;} / * Let the link show the underline in the hover state * /a: Hover {text-decoration:underline;} / * The underline is not displayed by default, keeping the page concise * /ins,a {text-decoration:none;} / * ie6,7 focus point line removal * /a: Focus,*: Focus {outline:none;} / * Clear float * /. Clearfix: Before,. Clearfix: After {content:"";  display:table; }. Clearfix: After {clear:both;  overflow:hidden; }. Clearfix {zoom:1; / * for IE6 IE7 * / }. Clear{clear:both;  Display:block;  Overflow:hidden;  height:0;  line-height:0;  font-size:0; }/ * Set display and hide, usually used with JS */. Hide {display:none !important;  Visibility:hidden; }. Block {display:block !important;} / * Set inline to reduce the bug caused by the float * /. FL {float:left;  display:inline; }. Fr {float:right;  display:inline; } 

BASE.CSS (Reset browser default style)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.