Permalink
Browse files

CSS cleanup: IE6 fixes

* changed some fixes to use zoom again
* changed .ui-autocomplete back to use width again
* split IE6+7 button fix up into 2 different files
  • Loading branch information...
selfthinker committed Dec 29, 2011
1 parent db5dd1e commit bb154ee65e843566ecd1734e69a7ad1990a51c2d
Showing with 17 additions and 9 deletions.
  1. +17 −8 themes/base/jquery.ui.ancient.css
  2. +0 −1 themes/base/jquery.ui.legacy.css
@@ -29,13 +29,22 @@
height: 200px; /*must have*/
}
-* html .ui-accordion .ui-accordion-header,
-* html .ui-accordion .ui-accordion-content,
-* html .ui-menu .ui-menu-item,
-* html .ui-menu .ui-menu-item a,
-* html .ui-button,
-* html .ui-dialog .ui-dialog-content,
-* html .ui-tabs,
+.ui-accordion .ui-accordion-header,
+.ui-accordion .ui-accordion-content,
+.ui-menu .ui-menu-item,
+.ui-menu .ui-menu-item a,
+.ui-button,
+.ui-dialog .ui-dialog-content,
+.ui-tabs,
+.ui-autocomplete {
+ zoom: 1;
+}
+
* html .ui-autocomplete {
- height: 1px;
+ width: 1px;
+} /* without this, the menu expands to 100% in IE6 */
+
+* html .ui-button {
+ overflow: visible;
+ /* the overflow property removes extra width in IE */
}
@@ -23,7 +23,6 @@
filter: Alpha(Opacity=30)/*{opacityShadow}*/;
}
-* html .ui-button,
*+html .ui-button {
overflow: visible;
/* the overflow property removes extra width in IE */

0 comments on commit bb154ee

Please sign in to comment.