aboutsummaryrefslogtreecommitdiffstats
path: root/demos/sortable/display-grid.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/sortable/display-grid.html')
-rw-r--r--demos/sortable/display-grid.html12
1 files changed, 3 insertions, 9 deletions
diff --git a/demos/sortable/display-grid.html b/demos/sortable/display-grid.html
index ced64775b..9650676a1 100644
--- a/demos/sortable/display-grid.html
+++ b/demos/sortable/display-grid.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
@@ -11,7 +11,7 @@
<script src="../../ui/jquery.ui.sortable.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
- #sortable { list-style-type: none; margin: 0; padding: 0; }
+ #sortable { list-style-type: none; margin: 0; padding: 0; width: 450px; }
#sortable li { margin: 3px 3px 3px 0; padding: 1px; float: left; width: 100px; height: 90px; font-size: 4em; text-align: center; }
</style>
<script>
@@ -22,7 +22,6 @@
</script>
</head>
<body>
-<div class="demo">
<ul id="sortable">
<li class="ui-state-default">1</li>
@@ -39,16 +38,11 @@
<li class="ui-state-default">12</li>
</ul>
-</div><!-- End demo -->
-
-
-
<div class="demo-description">
<p>
To arrange sortable items as a grid, give them identical dimensions and
float them using CSS.
</p>
-</div><!-- End demo-description -->
-
+</div>
</body>
</html>