Skip to content

Commit

Permalink
Set {overflow:auto} for <button> and <input> in <table> in IE6/7. Avo…
Browse files Browse the repository at this point in the history
…ids numerous layout and whitespace issues that result from setting {overflow:visible} to fix the odd inner spacing of those form elements.
  • Loading branch information
necolas committed Jul 12, 2011
1 parent d3dc77b commit a709725
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: ba

button, input { line-height: normal; *overflow: visible; }

/*
* Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
*/

table button, table input { *overflow: auto; }

/*
* 1. Display hand cursor for clickable form elements
* 2. Allow styling of clickable form elements in iOS
Expand Down

0 comments on commit a709725

Please sign in to comment.