Button: Strange space between buttons in IE 7. Fixed #5253 - Toolbar demo ugly in IE

This commit is contained in:
Pawel Maruszczyk 2012-11-27 21:37:44 +01:00 committed by Mike Sherov
parent f2854408cc
commit e77edc6099
3 changed files with 8 additions and 2 deletions

View File

@ -11,7 +11,12 @@
<link rel="stylesheet" href="../demos.css"> <link rel="stylesheet" href="../demos.css">
<style> <style>
#toolbar { #toolbar {
padding: 10px 4px; padding: 11px 4px 9px 4px;
}
/* support: IE7 */
*:first-child+html #toolbar {
padding: 4px 0px 4px 5px;
} }
</style> </style>
<script> <script>

View File

@ -42,7 +42,7 @@ button.ui-button-icons-only {
/* button text element */ /* button text element */
.ui-button .ui-button-text { .ui-button .ui-button-text {
display: block; display: inline-block;
line-height: 1.4; line-height: 1.4;
} }
.ui-button-text-only .ui-button-text { .ui-button-text-only .ui-button-text {

View File

@ -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}*/; background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
color: #222222/*{fcHeader}*/; color: #222222/*{fcHeader}*/;
font-weight: bold; font-weight: bold;
zoom: 1;
} }
.ui-widget-header a { color: #222222/*{fcHeader}*/; } .ui-widget-header a { color: #222222/*{fcHeader}*/; }