On 21/08/2009, at 8:25 PM, Tommy Ahlbäck wrote:

> Thanks for the quick reply.
>
>
> 21 aug 2009 kl. 09.42 skrev Tim Snadden:
>
>>
>> On 21/08/2009, at 7:32 PM, Tommy Ahlbäck wrote:
>>
>>> Hello,
>>>
>>> Must a parent element to a "absolute" positioned selector always be
>>> set to "relative" or can it also use the value "absolute"? It does
>>> work with "absolute" in my case, I'm more intrested if it's by the
>>> book or not?
>>
>> Yes - absolutely positioned elements are positioned in relation the
>> nearest positioned ancestor (either absolute or relative).

I forgot to mention that this applied to position: fixed as well (only  
when it is the ancestor).
______________________________________________________________________
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 -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to