Ar 13/06/10 02:46, ysgrifennodd Thierry Koblentz :
> I believe the offset of relatively positioned elements is done in regard to
> their position in the normal flow, *not* in relation to a ancestor. They are
> *very* different from absolutely positioned elements. They can overlap
> surrounding boxes but do not disturb the flow,
>    

Yes.  My bad.  You're right and I didn't clarify that properly.  Thanks.

>
>    
>> Normally, you would not expect to see both left and right specified:
>> rather you would expect to see, say, left and top.
>>      
> It is possible to "size" absolutely positioned boxes via these values. For
> example left:10px;right:10px; will make the box stretch 10px from the left
> edge to 10px from the right edge of the parent that creates a positioning
> context.
>    

Ah!  I wondered if that was the case, but had never seen it done so 
didn't mention it.  Thanks again.

I always have my heart in my mouth when answering anything on here.  You 
lot are so knowledgeable you're not going to miss a thing!  Still, it 
means that I learn something, as will as (hopefully) the person I'm 
replying to.  a win-win, really, as they say.

Cheers


Peter
-- 

http://www.peredur.net

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to