improving button rendering time in table (disabled expression hack inside .i-table as there is most often lot of buttons)

svn changeset:6220/svn branch:trunk
This commit is contained in:
Matti Tahvonen 2008-12-16 07:20:34 +00:00
parent 672504d869
commit f47163e11f
2 changed files with 16 additions and 4 deletions

View File

@ -28,15 +28,21 @@
overflow: visible;
padding-left: 10px;
padding-right: 10px;
}
}
/* fixes streched buttons in IE7 */
*+html .i-button {
*+html .i-button {
overflow: visible;
padding-left: 10px;
padding-right: 10px;
width: expression(this.offsetWidth + "px");
}
}
/* can't use expression hack in IE7 if lot's of button due
* performance issues (as often in table). See #2329 */
*+html .i-table .i-button {
width: auto;
}
/* Error indicator on checkbox fix for IE6 */
* html .i-checkbox * { display: block; float: left;}

View File

@ -79,6 +79,7 @@
padding-left: 10px;
padding-right: 10px;
}
/* fixes streched buttons in IE7 */
*+html .i-button {
overflow: visible;
@ -87,6 +88,11 @@
width: expression(this.offsetWidth + "px");
}
/* can't use expression hack in IE7 if lot's of button due
* performance issues (as often in table). See #2329 */
*+html .i-table .i-button {
width: auto;
}
/* Error indicator on checkbox fix for IE6 */
* html .i-checkbox * { display: block; float: left;}