d for the wrong size to set an explicit
width?
Best regards
Mike Wilson
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies --
EMAIL PROTECTED] 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
x27;s size.
Though, this support is currently only available in IE but at least
Mozilla has a bug report for it.
Best regards
Mike
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of fantasai
Sent: den 24 augusti 2007 09:11
To: Mike Wilson
Cc: [EMAIL PROTECTE
Thanks again for your input and for helping me understand this!
> > But extending this reasoning to the offset properties, like
> > left and top, seems unfair as they cannot cause any layout
> > recursion. The child height and width may cause recursion
> > as the parent element may base its ow
Thanks for your insights Philippe!
> > 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
> > pos'd, child DIV finds bottom:0 nicely.
>
>
[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 th
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'
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:
http://www.w3.org/TR/html4/strict.dt