0% found this document useful (0 votes)
17 views

Và File Reset - Css C A B N

This document contains CSS reset code to remove default browser styling from elements. It resets various styling properties like margins, paddings, borders, font sizes, etc. to 0 or other baseline values for elements like headings, paragraphs, lists, images, links and tables. It also includes styles for floating elements left or right and focus styles.

Uploaded by

04hcb
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Và File Reset - Css C A B N

This document contains CSS reset code to remove default browser styling from elements. It resets various styling properties like margins, paddings, borders, font sizes, etc. to 0 or other baseline values for elements like headings, paragraphs, lists, images, links and tables. It also includes styles for floating elements left or right and focus styles.

Uploaded by

04hcb
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

V file reset.

css ca bn
01 * {margin: 0; padding: 0;} 02 h1, h2, h3, h4, h5, h6 03 { 04 05 } 06 body 07 { 08 09 10 } 11 12 h1, h2, h3, h4, h5, h6 13 { 14 15 16 17 } 18 19 ul, ol 20 { 21 22 } 23 24 img 25 { 26 27 } 28 a 29 { 30 31 32 } 33 34 a:hover 35 { 36 text-decoration: underline; color: #000; text-decoration: none; border: 0; list-style: none; font-size: 100%; padding: 5px 0; margin: 0 15px; line-height: 1; font-size: 12px; font-size: 14px;

37 } 38 .floatLeft 39 { 40 float: left;

41 } 42 43 .floatRight 44 { 45 46 } float: right;

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } /* remember to define focus styles! */ :focus { outline: 0; } /* remember to highlight inserts somehow! */ ins { text-decoration: none; } del { text-decoration: line-through; } /* tables still need 'cellspacing="0"' in the markup */

table { border-collapse: collapse; border-spacing: 0; }

You might also like