467,907 Members | 1,326 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,907 developers. It's quick & easy.

Question about positioning definitions

I'm writing up notes from Eric Meyer's book, explaining CSS here they are:

CSS Positioning

Static: The element's box is generated as normal.

Block level - rectangular box that is part of the doc flow
Inline - rectangular boxes in the context of lne boxes flowing in parent

Relative: The element?s box is offset by stated distance. Element stays
same shape and the place in flow remains ? as if element were not moved.
Over lapping of other elements can occur.

Absolute: Element is removed from its place in the document and positioned
in relationship to containing block. Has height, width, top, right,
bottom, left, and margins, padding, borders. Margins do not collapse.

Fixed: Element is postioned as absolute, except the contianing block is
viewport (browser window).

Inherit Value is inherited from parent element not from default attribute.

The question is: What is the difference between the parent element and
the containing block?

Jul 20 '05 #1
  • viewed: 1370
1 Reply
FDYocum <th******@dejazzd.com> wrote:
The question is: What is the difference between the parent element and
the containing block?



"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

38 posts views Thread by Shaun McKinnon | last post: by
9 posts views Thread by Dave H | last post: by
reply views Thread by Alan Little | last post: by
11 posts views Thread by NS | last post: by
4 posts views Thread by Tony Johansson | last post: by
3 posts views Thread by JezB | last post: by
6 posts views Thread by Leon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.