aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-12-31 04:08:58 +0000
committerRichard Worth <rdworth@gmail.com>2008-12-31 04:08:58 +0000
commit591d82edb4ff2a29555031a044bf2907a09bbddf (patch)
treea9ac3c27ce5a0e3234aafae612781dc77b01551f /demos
parent19fd2705f94074dddd3b92dcaf99f33642bcff9f (diff)
downloadjquery-ui-591d82edb4ff2a29555031a044bf2907a09bbddf.tar.gz
jquery-ui-591d82edb4ff2a29555031a044bf2907a09bbddf.zip
demos/slider: markup and whitespace
Diffstat (limited to 'demos')
-rw-r--r--demos/slider/default.html10
-rw-r--r--demos/slider/multiple_vertical.html22
2 files changed, 10 insertions, 22 deletions
diff --git a/demos/slider/default.html b/demos/slider/default.html
index d203e7397..8d8096a9d 100644
--- a/demos/slider/default.html
+++ b/demos/slider/default.html
@@ -17,8 +17,6 @@
</head>
<body>
-
-
<div class="demo">
<p>Your age:</p>
@@ -26,16 +24,12 @@
</div><!-- End demo -->
-
-
<div class="demo-description">
-<p>The default slider has a single handle and is horizontal. The handle can be moved with the mouse or by using the arrow keys and has full ARIA attributes for accessibility. The current value for the slider can be set with the value option: <pre>value: 37</pre></p>
+<p>The default slider has a single handle and is horizontal. The handle can be moved with the mouse or by using the arrow keys and has full ARIA attributes for accessibility. The current value for the slider can be set with the value option:</p>
+<pre>value: 37</pre>
</div><!-- End demo-description -->
-
-
-
</body>
</html>
diff --git a/demos/slider/multiple_vertical.html b/demos/slider/multiple_vertical.html
index b7dffa42b..5a1913221 100644
--- a/demos/slider/multiple_vertical.html
+++ b/demos/slider/multiple_vertical.html
@@ -53,21 +53,18 @@
</head>
<body class="ui-widget-content" style="border:0;">
-
<div class="demo">
-
-<p class="ui-state-default ui-corner-all clearfix" style="padding:4px;">
-<span class="ui-icon ui-icon-volume-on" style="float:left; margin:-2px 5px 0 0;"></span>Master volume
+<p class="ui-state-default ui-corner-all ui-helper-clearfix" style="padding:4px;">
+<span class="ui-icon ui-icon-volume-on" style="float:left; margin:-2px 5px 0 0;"></span>
+Master volume
</p>
<div id="slider0" style="width:260px; margin:15px;"></div>
-
-<br/><br/>
-
-<p class="ui-state-default ui-corner-all" style="padding:4px;">
-<span class="ui-icon ui-icon-signal" style="float:left; margin:-2px 5px 0 0;"></span>Graphic EQ
+<p class="ui-state-default ui-corner-all" style="padding:4px;margin-top:4em;">
+<span class="ui-icon ui-icon-signal" style="float:left; margin:-2px 5px 0 0;"></span>
+Graphic EQ
</p>
<div id="slider1" style="height:120px; float:left; margin:15px"></div>
<div id="slider2" style="height:120px; float:left; margin:15px"></div>
@@ -77,16 +74,13 @@
<div id="slider6" style="height:120px; float:left; margin:15px"></div>
<div id="slider7" style="height:120px; float:left; margin:15px"></div>
-
-
</div><!-- End demo -->
-
-
-<div class="demo-description">
+<div class="demo-description" style="clear:left;">
<p>This example shows how easy it is to add multiple sliders to a page, each with their own options, to make a UI for a music player.</p>
</div><!-- End demo-description -->
+
</body>
</html>