aboutsummaryrefslogtreecommitdiffstats
path: root/demos/position/default.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/position/default.html')
-rw-r--r--demos/position/default.html15
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>