Skip to content

Commit 8bf5bc8

Browse files
committed
Progressbar demo (label): Use absolute positioning for the label. Fixes #9163 - Progressbar demo: Incorrect presentation with progressbar label in IE9.
1 parent 4202ad0 commit 8bf5bc8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

demos/progressbar/label.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@
1010
<script src="../../ui/jquery.ui.progressbar.js"></script>
1111
<link rel="stylesheet" href="../demos.css">
1212
<style>
13+
.ui-progressbar {
14+
position: relative;
15+
}
1316
.progress-label {
14-
float: left;
15-
margin-left: 50%;
16-
margin-top: 5px;
17+
position: absolute;
18+
left: 50%;
19+
top: 4px;
1720
font-weight: bold;
1821
text-shadow: 1px 1px 0 #fff;
1922
}

0 commit comments

Comments
 (0)