Previous Message
Next Message

Re: [css-d] position: absolute

Sent by Stuart Langridge on 7 July 2002 10:10


Simon Hill spoo'd forth:
> On Sun, 2002-07-07 at 23:44, Stuart Langridge wrote:
>>But according to the spec, "generated boxes act as containing blocks for
>>descendant boxes", so surely the main div should be the containing block
>>for the "abs" div? Have I misunderstood completely?
>> 
> CSS2 10.1: # If the element has 'position: absolute', the containing block
> is established by the nearest ancestor with a 'position' other than
> 'static'

Ah. Yes. Thanks, all, for pointing out that I should read the *whole* spec
:-)

sil

-- 
"Willow hath gat hare off rede
 And doth geev soopurb heede.
 Buffy, as written by Geoffrey Chaucer, the dirty mediaeval git."
           -- Andy Spencer, after Certic
Previous Message
Next Message

Possibly related: