- From: <bugzilla@jessica.w3.org>
- Date: Mon, 02 Sep 2013 14:39:24 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22772 --- Comment #13 from Simon Pieters <simonp@opera.com> --- (In reply to comment #11) > I had a project (a coupld of times in fact) where I tried to reposition > elements based on another element's current position (usually relating to > layers, because elements in a layer don't flow starting from top of document > like I want it to). so to make a layers page work, I would have to > reposition all the elements with js. OK, so you want to position things relative to other elements. > [...] and I am not sure you can do element shackling > now unless you have already given your existing elements a size and position > to start with. What is element shackling? > let's see if I can drum up an example: > > <div id="i1" style="z-index:1">hello<img src="abc.jpg" alt="abc">, > Jake!</div><table> > <tr><td>a</td><td>b</td><td>c</td></tr> > <tr><td>a</td><td id="i3"><img src="def.png" alt="def"></td><td>c</td></tr> > <tr><td>a</td><td>b</td><td>c</td></tr> > > <div id="i2" style="z-index:2" > style="position:absolute;left:attr();">testing...<img src="abc.jpg" > alt="abc"></div><!-- position this element over the <td id="3"><img > src="def.png" alt="def"></td> --> Thanks, that's helpful. Does Flexbox or Grid address your use case? http://dev.w3.org/csswg/css-flexbox/ http://dev.w3.org/csswg/css-grid/ -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Monday, 2 September 2013 14:39:26 UTC