CSS style Reset

Source: Internet
Author: User

/*
Html5doctor.com Reset Stylesheet
v1.6.1
Last UPDATED:2010-09-17
Author:richard clark-http://richclarkdesign.com
Twitter: @rich_clark
*/

HTML, body, Div, span, object, IFRAME,
H1, H2, H3, H4, H5, H6, p, blockquote, Pre,
ABBR, address, cite, code,
Del, DFN, EM, img, INS, KBD, Q, Samp,
Small, strong, sub, SUP, VAR,
b, I,
DL, DT, DD, OL, UL, Li,
FieldSet, form, label, legend,
Table, Caption, Tbody, TFOOT, THEAD, tr, TH, TD,
Article, aside, canvas, details, figcaption, figure,
Footer, Header, Hgroup, menu, nav, section, summary,
Time, mark, audio, video{
Margin:0;
Padding:0;
Border:0;
Outline:0;
Font-size:100%;
Vertical-align:Baseline;
Background:Transparent;
}

Body{
Line-height:1;
}

Article,aside,details,figcaption,figure,
Footer,header,hgroup,menu,nav,section{
Display:Block;
}

Nav ul{
List-style:None;
}

BLOCKQUOTE, Q{
Quotes:None;
}

Blockquote:before, Blockquote:after,
Q:before, Q:after{
Content:"';
Content:None;
}

A{
Margin:0;
Padding:0;
Font-size:100%;
Vertical-align:Baseline;
Background:Transparent;
}

/*Change colours to suit your needs*/
INS{
Background-color:#ff9;
Color:#000;
Text-decoration:None;
}

/*Change colours to suit your needs*/
Mark{
Background-color:#ff9;
Color:#000;
Font-style:Italic;
Font-weight:Bold;
}

Del{
Text-decoration:Line-through;
}

Abbr[title], Dfn[title]{
Border-bottom:1px dotted;
Cursor: Help;
}

Table{
Border-collapse:collapse;
Border-spacing:0;
}

/*Change border colour to suit your needs*/
HR{
Display:Block;
Height:1px;
Border:0;
Border-top:1px solid #cccccc;
Margin:1em 0;
Padding:0;
}

Input, select{
Vertical-align:Middle;
}

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.