]> source.dussan.org Git - jquery-ui.git/commitdiff
Position demo: Updated sizes of elements.
authorScott González <scott.gonzalez@gmail.com>
Fri, 16 Sep 2011 15:33:26 +0000 (11:33 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 16 Sep 2011 15:33:26 +0000 (11:33 -0400)
demos/position/default.html

index f7cba888d623fdc2e06525c1797c138febd3a79f..f5caf3bc1c10e600106a20c18902073c1137ba1c 100644 (file)
@@ -14,6 +14,7 @@
        <style>
        #parent {
                width: 60%;
+               height: 40px;
                margin: 10px auto;
                padding: 5px;
                border: 1px solid #777;
@@ -21,8 +22,6 @@
                text-align: center;
        }
        .positionable {
-               width: 75px;
-               height: 75px;
                position: absolute;
                display: block;
                right: 0;
                background-color: #bcd5e6;
                text-align: center;
        }
+       #positionable1 {
+               width: 75px;
+               height: 75px;
+       }
+       #positionable2 {
+               width: 120px;
+               height: 40px;
+       }
        .ui-flipped-top {
                border-top: 3px solid #000000;
        }
        </p>
 </div>
 
-<div class="positionable">
+<div class="positionable" id="positionable1">
        <p>
        to position
        </p>
 </div>
 
-<div class="positionable" style="width:120px; height: 40px;">
+<div class="positionable" id="positionable2">
        <p>
        to position 2
        </p>