Re: [css-d] relative positioning inside absolute positioned element - why not percentage for top?

2007-08-29 Thread Mike Wilson
Just to close this issue off, I can now report that the latest working draft of the CSS 2.1 spec has actually solved the problem I mentioned. Compliant browsers should now support percentages on relative positioning of an element even when the parent's size is dependent on the element's size.

Re: [css-d] relative positioning inside absolute positioned element - why not percentage for top?

2007-08-29 Thread Mike Wilson
] On Behalf Of Mike Wilson Sent: den 29 augusti 2007 09:26 To: 'CSS-D' Cc: 'Philippe Wittenbergh' Subject: Re: [css-d] relative positioning inside absolute positioned element - why not percentage for top? Just to close this issue off, I can now report that the latest working draft of the CSS 2.1

Re: [css-d] relative positioning inside absolute positioned element- why not percentage for top?

2007-05-10 Thread Mike Wilson
Hi Philippe, I have put a new test file on http://lahall.se/test/test-top-percentage.html How much offset for top do you actually expect ? Half (50%) of the DIV's height (both DIVs have the same height as the outer DIV adapts to the inner DIV's size). CSS 2.1, 9.3.2 Box offsets For 'top'

Re: [css-d] relative positioning inside absolute positioned element- why not percentage for top?

2007-05-10 Thread Mike Wilson
[Forwarding Philippe's reply to the list] On May 10, 2007, at 4:57 PM, Mike Wilson wrote: Or are you saying that the height of the containing block used for positioning will be different from the calculated size of the actual element? This doesn't seem to be the case as the other, absolutely

Re: [css-d] relative positioning inside absolute positioned element - why not percentage for top?

2007-05-09 Thread Philippe Wittenbergh
On May 8, 2007, at 6:58 AM, Mike Wilson wrote: I have a problem with relative positioning, containing block, and percentages. I have an absolutely positioned outer DIV, and a relatively positioned inner DIV. My goal is to shift the inner DIV halfway to the left and up, using percentages.

[css-d] relative positioning inside absolute positioned element - why not percentage for top?

2007-05-08 Thread Mike Wilson
I have a problem with relative positioning, containing block, and percentages. I have an absolutely positioned outer DIV, and a relatively positioned inner DIV. My goal is to shift the inner DIV halfway to the left and up, using percentages. See code below: !DOCTYPE HTML PUBLIC -//W3C//DTD