aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-03-18 13:05:57 -0400
committerScott González <scott.gonzalez@gmail.com>2013-03-18 13:05:57 -0400
commit8bf5bc8bc8322bce796a9d9c9e7dc140e3081973 (patch)
treeed5c0f9124d6db5e433ba50ea14b57dfd242ac5b
parent4202ad07187e15a3b2e64277e170daf9b278c3b4 (diff)
downloadjquery-ui-8bf5bc8bc8322bce796a9d9c9e7dc140e3081973.tar.gz
jquery-ui-8bf5bc8bc8322bce796a9d9c9e7dc140e3081973.zip
Progressbar demo (label): Use absolute positioning for the label. Fixes #9163 - Progressbar demo: Incorrect presentation with progressbar label in IE9.
-rw-r--r--demos/progressbar/label.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/demos/progressbar/label.html b/demos/progressbar/label.html
index 3e669ba4a..a1e16cb71 100644
--- a/demos/progressbar/label.html
+++ b/demos/progressbar/label.html
@@ -10,10 +10,13 @@
<script src="../../ui/jquery.ui.progressbar.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
+ .ui-progressbar {
+ position: relative;
+ }
.progress-label {
- float: left;
- margin-left: 50%;
- margin-top: 5px;
+ position: absolute;
+ left: 50%;
+ top: 4px;
font-weight: bold;
text-shadow: 1px 1px 0 #fff;
}