]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - include/javascript/yui3/build/cssreset/reset.css
Release 6.5.0
[Github/sugarcrm.git] / include / javascript / yui3 / build / cssreset / reset.css
1 /*
2 Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.com/yui/license.html
5 version: 3.3.0
6 build: 3167
7 */
8 /*
9         TODO will need to remove settings on HTML since we can't namespace it.
10         TODO with the prefix, should I group by selector or property for weight savings?
11 */
12 html{
13         color:#000;
14         background:#FFF;
15 }
16 /*
17         TODO remove settings on BODY since we can't namespace it.
18 */
19 /*
20         TODO test putting a class on HEAD.
21                 - Fails on FF. 
22 */
23 body,
24 div,
25 dl,
26 dt,
27 dd,
28 ul,
29 ol,
30 li,
31 h1,
32 h2,
33 h3,
34 h4,
35 h5,
36 h6,
37 pre,
38 code,
39 form,
40 fieldset,
41 legend,
42 input,
43 textarea,
44 p,
45 blockquote,
46 th,
47 td {
48         margin:0;
49         padding:0;
50 }
51 table {
52         border-collapse:collapse;
53         border-spacing:0;
54 }
55 fieldset,
56 img {
57         border:0;
58 }
59 /*
60         TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
61 */
62 address,
63 caption,
64 cite,
65 code,
66 dfn,
67 em,
68 strong,
69 th,
70 var {
71         font-style:normal;
72         font-weight:normal;
73 }
74 /*
75         TODO Figure out where this list-style rule is best set. Hedger has a request to investigate.
76 */
77 li {
78         list-style:none;
79 }
80
81 caption,
82 th {
83         text-align:left;
84 }
85 h1,
86 h2,
87 h3,
88 h4,
89 h5,
90 h6 {
91         font-size:100%;
92         font-weight:normal;
93 }
94 q:before,
95 q:after {
96         content:'';
97 }
98 abbr,
99 acronym {
100         border:0;
101         font-variant:normal;
102 }
103 /* to preserve line-height and selector appearance */
104 sup {
105         vertical-align:text-top;
106 }
107 sub {
108         vertical-align:text-bottom;
109 }
110 input,
111 textarea,
112 select {
113         font-family:inherit;
114         font-size:inherit;
115         font-weight:inherit;
116 }
117 /*to enable resizing for IE*/
118 input,
119 textarea,
120 select {
121         *font-size:100%;
122 }
123 /*because legend doesn't inherit in IE */
124 legend {
125         color:#000;
126 }