diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-09-16 11:33:26 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-09-16 11:33:26 -0400 |
commit | 8274f081e08b6e9dd69686ced17c4413dcc044c6 (patch) | |
tree | 8f43a26ca3ed41cb0f342f00d593a910951f4a7a /demos/position | |
parent | a60a99ee48025969443352740be771883640335a (diff) | |
download | jquery-ui-8274f081e08b6e9dd69686ced17c4413dcc044c6.tar.gz jquery-ui-8274f081e08b6e9dd69686ced17c4413dcc044c6.zip |
Position demo: Updated sizes of elements.
Diffstat (limited to 'demos/position')
-rw-r--r-- | demos/position/default.html | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/demos/position/default.html b/demos/position/default.html index f7cba888d..f5caf3bc1 100644 --- a/demos/position/default.html +++ b/demos/position/default.html @@ -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; @@ -30,6 +29,14 @@ background-color: #bcd5e6; text-align: center; } + #positionable1 { + width: 75px; + height: 75px; + } + #positionable2 { + width: 120px; + height: 40px; + } .ui-flipped-top { border-top: 3px solid #000000; } @@ -93,13 +100,13 @@ </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> |