Skip to content

Commit

Permalink
language, overflow, body, audio, input, textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed May 6, 2011
1 parent 1c08d3a commit 04cc803
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ html {
}

/*
* Fixes text size displayed oddly during orientation change in handheld iOS
* Fixes text size displayed oddly after orientation change in handheld browsers
*/

@media screen and (max-device-width: 480px) {
Expand All @@ -66,12 +66,10 @@ html {

/*
* Remove margin and hide overflow from <body> element
* Margin overflow displayed incorrectly in IE6/7
*/

body {
margin: 0;
overflow: hidden;
}

/*
Expand Down Expand Up @@ -103,9 +101,6 @@ a:hover {

audio {
display: none;
}

audio[controls] {
_display: expression(this.controls ? 'inline' : 'none');
}

Expand Down Expand Up @@ -249,6 +244,11 @@ textarea {
margin: 0;
}

input,
textarea {
*margin: expression(/text|password|file/.test(this.type) ? this.runtimeStyle.margin = '-1px 0' : 0);
}

/*
* Define inner-spacing for button elements
* Targeting all inputs is harmless to non-button elements
Expand Down

0 comments on commit 04cc803

Please sign in to comment.