Share an error reset.css

Source: Internet
Author: User
/* Kissy css Reset philosophy: 1. The purpose of reset is not to clear the default style of the browser, which is only part of the work. Clearing and resetting are closely related. 2. The purpose of reset is not to make the default style consistent in all browsers, but to reduce the possible problems caused by the default style. 3. reset expects to provide a set of general basic styles. But there is no silver bullet. We recommend you crop and modify it based on your needs before using it. Features: 1. adapted to Chinese; 2. Based on the latest mainstream browsers. Maintenance: yuber <lifesinger@gmail.com>, Zheng Chun <ragecarrier@gmail.com> * // ** clear internal and external margins **/body, h1, h2, h3, h4, h5, h6, hr, p, blockquote,/* structural elements structure element */dl, dt, dd, ul, ol, li,/* list elements list element */pre, /* text formatting elements text format element */form, fieldset, legend, button, input, textarea,/* form elements form Element */th, td/* table elements table element */{margin: 0; padding: 0;}/** set default font **/body, button, input, select, textarea/* for ie */{font: 12px/1.5 tahoma, arial, \ 5b8b \ 4f53, sans-serif;} h1, h2, h3, h4, h5, h6 {font-size: 100%;} address, cite, dfn, em, var {font-style: normal;}/* align italics */code, kbd, pre, samp {font-family: courier new, courier, monospace;}/* uniform width font */small {font-size: 12px;}/* Chinese characters smaller than 12px are hard to read, normalize small * // ** reset list elements **/ul, ol {list-style: none ;} /** reset the text format element **/a {text-decoration: none;} a: hover {text-decoration: underline;} sup {vertical-align: text-top;}/* reset to reduce the impact on the row height */sub {vertical-align: text-bottom;}/** reset form Element **/legend {color: #000;}/* for ie6 */fieldset, img {border: 0;}/* img: Leave the img in the Link borderless */button, input, select, textarea {font-size: 100%;}/* enables the form element to inherit the font size under ie * // * Note: optgroup cannot reset * // ** reset table elements **/table {border-collapse: collapse; border-spacing: 0;}/* reset HTML5 elements */article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {display: block; margin: 0; padding: 0 ;}mark {background: # ff0 ;}

Related Article

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.