Previous Message
Next Message

absolute positioning

Sent by Alex Mitchell on 30 July 2010 21:09


On Fri, Jul 30, 2010 at 12:25 PM, Angela French [EMAIL-REMOVED]> wrote:

> I'm being driving nuts by absolute positioning rendering between IE and FF.
>  I just want to confirm what I think is correct about absolute positioning.
>  My understanding is that an absolutely position element positions itself
> relative to its parent container.  If the parent has not positioning, then
> it positions itself absolutely relative to the grandparent container, and so
> forth, up to the <body>.  Is this correct?
>
> If so, do both IE and FF follow this?
>
> Thank you.
>
> Angela French
> Internet Specialist
> State Board for Community and Technical Colleges
> 360-704-4316
> [EMAIL-REMOVED]
> http://www.checkoutacollege.com<http://www.checkoutacollege.com/>
>
>
It's my understanding that an absolutely positioned element will be
positioned absolutely relative to the nearest relatively or absolutely
positioned parent.
If no parents are relatively positioned it will be positioned relative to
the viewport or the <html> element.

I've created a demo of how this works here:
http://gumware.com/absolute-positioning.html

Regards,
Alex Mitchell
http://gumware.com

______________________________________________________________________
> css-discuss [EMAIL-REMOVED]]
> 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/
>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Possibly related: