]> source.dussan.org Git - jquery-ui.git/commitdiff
Droppable demo: Fixed styling.
authorScott González <scott.gonzalez@gmail.com>
Fri, 15 Jun 2012 17:28:48 +0000 (13:28 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 15 Jun 2012 17:28:48 +0000 (13:28 -0400)
demos/droppable/shopping-cart.html

index 8a08f576bd5d7a2cc6cd019348423901742beba7..f3a881fc49694f0f9cbe7203343a99b7a3404567 100644 (file)
@@ -16,7 +16,7 @@
        <style>
        h1 { padding: .2em; margin: 0; }
        #products { float:left; width: 500px; margin-right: 2em; }
-       #cart { width: 200px; float: left; }
+       #cart { width: 200px; float: left; margin-top: 1em; }
        /* style the list to maximize the droppable hitarea */
        #cart ol { margin: 0; padding: 1em 0 1em 3em; }
        </style>
 <body>
 
 <div class="demo">
-       
+
 <div id="products">
-       <h1 class="ui-widget-header">Products</h1>      
+       <h1 class="ui-widget-header">Products</h1>
        <div id="catalog">
-               <h3><a href="#">T-Shirts</a></h3>
+               <h2><a href="#">T-Shirts</a></h2>
                <div>
                        <ul>
                                <li>Lolcat Shirt</li>
@@ -61,7 +61,7 @@
                                <li>Buckit Shirt</li>
                        </ul>
                </div>
-               <h3><a href="#">Bags</a></h3>
+               <h2><a href="#">Bags</a></h2>
                <div>
                        <ul>
                                <li>Zebra Striped</li>
@@ -69,7 +69,7 @@
                                <li>Alligator Leather</li>
                        </ul>
                </div>
-               <h3><a href="#">Gadgets</a></h3>
+               <h2><a href="#">Gadgets</a></h2>
                <div>
                        <ul>
                                <li>iPhone</li>