This commit is contained in:
Jonathan 2011-04-22 13:34:18 -07:00
parent 60cc15c386
commit b9ad7aea10

27
normalize.css vendored
View File

@ -72,10 +72,14 @@ img {
* Fixes styling not present in IE6/7/8/9 C10 S5 * Fixes styling not present in IE6/7/8/9 C10 S5
*/ */
abbr { abbr[title] {
border-bottom: 1px dotted; border-bottom: 1px dotted;
} }
abbr {
_border-bottom: expression(this.title ? '1px dotted' : 'none');
}
/* /*
* Add italic font style to <dfn> element * Add italic font style to <dfn> element
* Fixes styling not present in C10 S5 * Fixes styling not present in C10 S5
@ -172,26 +176,23 @@ textarea {
} }
/* /*
* Define inner-spacing for <button> element * Define inner-spacing for button elements
* Targeting all inputs is harmless to non-button elements
* 1. Fixes spacing displayed oddly in IE6/7 * 1. Fixes spacing displayed oddly in IE6/7
* 2. Addresses padding differences in all browsers * 2. Fixes border and padding displayed oddly in FF3/4
* 3. Fixes border and padding displayed oddly in FF3/4
*/ */
/* 1 */
button, button,
input[type=button], input {
input[type=reset], *overflow: visible;
input[type=submit] {
*overflow: visible; /* 1 */
padding: 0 6px; /* 2 */
} }
/* 3 */ /* 2 */
button::-moz-focus-inner, button::-moz-focus-inner,
input[type=button]::-moz-focus-inner, input::-moz-focus-inner {
input[type=reset]::-moz-focus-inner,
input[type=submit]::-moz-focus-inner {
border: 0; border: 0;
padding: 0; padding: 0;
} }