diff options
Diffstat (limited to 'demos/resizable/grid.html')
-rw-r--r-- | demos/resizable/grid.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/resizable/grid.html b/demos/resizable/grid.html index b0f57a245..db5d15b40 100644 --- a/demos/resizable/grid.html +++ b/demos/resizable/grid.html @@ -7,6 +7,9 @@ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
+ <style type="text/css">
+ #resizable { width: 150px; height: 150px; padding: 0.5em; }
+ </style>
<script type="text/javascript">
$(function() {
$("#resizable").resizable({ @@ -17,7 +20,7 @@ </head>
<body>
-<div id="resizable" style="width: 200px; height: 200px; background-color: #f00;">
+<div id="resizable" class="ui-widget-content">
<p>Resize me</p>
</div>
|