Skip to content

Commit

Permalink
fix #945 Button text alignment in IE7
Browse files Browse the repository at this point in the history
This commit fixes a problem on IE7 where text inside buttons is not centered.
  • Loading branch information
fab-b committed Jan 22, 2014
1 parent edf1185 commit 1c77b0c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/aria/widgets/action/ButtonStyle.tpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
tabindex:10;
}

{if aria.core.Browser.isIE7}
.xButton .xFrameContent {
text-align: center;
}
{/if}

button.xButton::-moz-focus-inner {
border: 0;
}
Expand Down

0 comments on commit 1c77b0c

Please sign in to comment.