Cssre-Sample Table reset.css, CSS Sample Table reset.css

Source: Internet
Author: User

Cssre-Sample Table reset.css, CSS Sample Table reset.css
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 */fieldset, lengend, button, input, textarea,/* form elements form Element */th, td {/* table elements table element */margin: 0; padding: 0;}/* set the default font */body, button, input, select, textarea {/* for ie * // * font: 12px/1 Tahoma, Helvetica, Arial, "", sans-serif; */font: 12px/1 Tahoma, Helvetica, arial, "\ 5b8b \ 4f53", sans-serif;/* is represented by ascii characters, so that there is no problem in any encoding */} h1 {font-size: 18px; /* 18px/12px = 1.5 */} h2 {font-size: 16px;} h3 {font-size: 14px;} h4, h5, h6 {font-size: 100%;} address, cite, dfn, em, var {font-style: normal;}/* align italic with the italic characters */code, kbd, pre, samp, tt {font-family: "Courier New", Courier, monospace;}/* uniform width font */small {font-size: 12px ;} /* Chinese characters smaller than 12px are difficult to read, making small normalized * // * resetting list elements */ul, ol {list-style: none ;} /* reset the text format element */a {text-decoration: none;} a: hover {text-decoration: underline;} abbr [title], acronym [title] {/* Note: 1. ie6 does not support abbr; 2. attribute selector is used here, which is ineffective in ie6 */border-bottom: 1px dotted; cursor: help;} q: before, q: after {content :'';} /* reset the form Element */legend {color: #000;}/* for ie6 */fieldset, img {border: none;}/* img: leave the img in the Link borderless * // * Note: The optgroup cannot restore the image. */button, input, select, textarea {font-size: 100%; /* Make the form Element Inherit the font size under ie */}/* reset the table element */table {border-collapse: collapse; border-spacing: 0 ;} /* reset hr */hr {border: none; height: 1px;}/* to display the vertical scroll bar by default in non-ie browsers, prevent flickering caused by the scroll bar */html {overflow-y: scroll ;}

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.