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;">
<table border=1><tr>
  <td>HELLO</td><td><div style="position: absolute; left:40px; top:12px; background: red;">aa</div></td>
  <td>HELLO</td><td>HELLO<select style="position: parent; left:0px; top:0px; background: blue;"></select></td>

So its look like this:

And NOT:

like in 'relative' positioning

And NOT:

like in 'absolute' positioning

(image/bmp attachment: box_positioning.bmp)

(image/bmp attachment: box_positioning_2.bmp)

(image/bmp attachment: box_positioning_1.bmp)

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:30 UTC