aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-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;
}