CSS initialization template (HTML + CSS template)

Source: Internet
Author: User

[Css] @ charset "UTF-8";/* DIVCSS5-CSS initialization template -www.divcss5.com */body, div, address, blockquote, iframe, ul, ol, dl, dt, dd, li, dl, h1, h2, h3, h4, pre, table, caption, th, td, form, legend, fieldset, input, button, select, textarea {margin: 0; padding: 0; font-style: normal; font: 12px/22px Arial, Helvetica, sans-serif;} www.2cto. comol, ul, li {list-style: none;} img {border: 0; vertical-align: middle;} B Ody {color: #000000; background: # FFF; text-align: center ;}. clear {clear: both; height: 1px; width: 100%; overflow: hidden; margin-top:-1px;} a {color: #000000; text-decoration: none ;} a: hover {color: # BA2636; text-decoration: underline ;}. red ,. red a {color: # F00 ;}. lan ,. lan a {color: #1E51A2 ;}. dis {display: block ;}. undis {display: none;} description of the above CSS Code: The above CSS code settings initialize the div, li, a, body, img, ul, h1-h4 and other commonly used labels CSS style. Note: The first step is to initialize the full-site CSS and re-assign it to the new one. In this way, the html code corresponding to the full-site CSS is unified: <! DOCTYPE html>

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.