Index: trunk/phase3/skins/common/IE80Fixes.css |
— | — | @@ -1,9 +1,15 @@ |
2 | 2 | /** |
3 | | - * Fixes textarea scrolling bug (bug #19334) |
| 3 | + * Fixes textarea scrolling bug (bug #19334). The bug only occurs when a |
| 4 | + * percentage width is given, so instead of width: 100%, use min-width: 100%; |
| 5 | + * max-width: 100%. We also need to give a fixed width for the actual width |
| 6 | + * property for the hack to work, although the actual value (500px here) ends |
| 7 | + * up being ignored; min/max-width take precedence. |
| 8 | + * |
| 9 | + * More info: http://grantovich.net/posts/2009/06/that-weird-ie8-textarea-bug/ |
4 | 10 | */ |
5 | 11 | #wpTextbox1 { |
6 | 12 | height: 390px; |
7 | 13 | width: 500px; |
8 | 14 | min-width: 100%; |
9 | 15 | max-width: 100%; |
10 | | -} |
\ No newline at end of file |
| 16 | +} |