Browse files

Button: Strange space between buttons in IE 7. Fixed #5253 Toolbar de…

…mo ugly in IE
  • Loading branch information...
1 parent f285440 commit f300f287925a276886ed8c840de8a3cce58c379d @lordt committed Nov 27, 2012
Showing with 8 additions and 2 deletions.
  1. +6 −1 demos/button/toolbar.html
  2. +1 −1 themes/base/jquery.ui.button.css
  3. +1 −0 themes/base/jquery.ui.theme.css
View
7 demos/button/toolbar.html
@@ -11,7 +11,12 @@
<link rel="stylesheet" href="../demos.css">
<style>
#toolbar {
- padding: 10px 4px;
+ padding: 11px 4px 9px 4px;
+ }
+
+ /* support: IE7 */
+ *:first-child+html #toolbar {
+ padding: 4px 0px 4px 5px;
}
</style>
<script>
View
2 themes/base/jquery.ui.button.css
@@ -42,7 +42,7 @@ button.ui-button-icons-only {
/* button text element */
.ui-button .ui-button-text {
- display: block;
+ display: inline-block;
line-height: 1.4;
}
.ui-button-text-only .ui-button-text {
View
1 themes/base/jquery.ui.theme.css
@@ -41,6 +41,7 @@
background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
color: #222222/*{fcHeader}*/;
font-weight: bold;
+ zoom: 1;
}
.ui-widget-header a { color: #222222/*{fcHeader}*/; }

0 comments on commit f300f28

Please sign in to comment.