Permalink
Browse files

CSS cleanup: IE6 fixes

* forgot '* html' in front of some IE6-only styles
* moved one left IE6-only style over to those others
  • Loading branch information...
1 parent 2c79e48 commit db5dd1edeb822e35da3903ed2fd65b539fea3510 @selfthinker committed Dec 28, 2011
Showing with 9 additions and 14 deletions.
  1. +8 −8 themes/base/jquery.ui.ancient.css
  2. +1 −6 themes/base/jquery.ui.autocomplete.css
View
16 themes/base/jquery.ui.ancient.css
@@ -29,13 +29,13 @@
height: 200px; /*must have*/
}
-.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 {
+* 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,
+* html .ui-autocomplete {
height: 1px;
}
-
View
7 themes/base/jquery.ui.autocomplete.css
@@ -12,11 +12,6 @@
cursor: default;
}
-/* workarounds */
-* html .ui-autocomplete {
- width: 1px;
-} /* without this, the menu expands to 100% in IE6 */
-
/*
* jQuery UI Menu @VERSION
*
@@ -48,7 +43,7 @@
display: block;
padding: .2em .4em;
line-height: 1.5;
- min-height: 1px;
+ min-height: 1px; /* for IE7 */
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {

0 comments on commit db5dd1e

Please sign in to comment.