W3C home > Mailing lists > Public > www-style@w3.org > September 2007

Positioned elements

From: <Eugen.Konkov@aldec.com>
Date: Wed, 19 Sep 2007 11:53:49 +0300
Message-ID: <005601c7fa9a$991a6560$0100a8c0@kharkov.localhost>
To: <www-style@w3.org>
Is you plan to add ability to position element relatively to its parent
NOT to its position in normal flow (relative)
NOT to its containing block (absolute)

<div style="position: absolute; left: 50px; top: 150px; border: 1px solid red;">
TESTCASE #2
<table border=1><tr>
  <td>HELLO</td><td><div style="position: absolute; left:40px; top:12px; background: red;">aa</div></td>
  </tr>
<tr>
  <td>HELLO</td><td>HELLO<select style="position: parent; left:0px; top:0px; background: blue;"></select></td>
  </tr>
</table>
</div>

So its look like this:


And NOT:

like in 'relative' positioning

And NOT:

like in 'absolute' positioning






box_positioning.bmp
(image/bmp attachment: box_positioning.bmp)

box_positioning_2.bmp
(image/bmp attachment: box_positioning_2.bmp)

box_positioning_1.bmp
(image/bmp attachment: box_positioning_1.bmp)

Received on Wednesday, 19 September 2007 16:54:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:52 GMT