In the following snippet, my thought on absolute positioning is
div#disco is positioned absolutely with regards to div#containingbox.
However my little experiment places this div in relation to the
viewport. So absolute positioning takes a block level element out of
its normal flow?
What am
Hi,
Thanks, I get it now.
Disco,
Chris
On Thursday, October 14, 2004, at 11:21 AM, Patrick H. Lauke wrote:
Relative positioning is relative to the next positioned parent. In the
absent of a positioned parent, the default origin is the viewport.
To get it to work the way you intend it, you need to
Hi Chris,
Absolute positioning places an element absolutely, with regard to its
containing box.
Also, when positioning within a container even though it is implicit,
its good to also specify position: relative; to the container's
selector. I'm not sure if this is in the spec or not, but
Joseph Lindsay wrote:
Also, when positioning within a container even though it is implicit,
its good to also specify position: relative; to the container's
selector. I'm not sure if this is in the spec or not
Section 9.8.4. of the CSS2.1 spec
http://www.w3.org/TR/CSS21/visuren.html#q28
The
Hi,
Thanks, the replies have been a little less clinical than the
specification, proving more digestible.
On Thursday, October 14, 2004, at 11:59 AM, Joseph Lindsay wrote:
Hi Chris,
Absolute positioning places an element absolutely, with regard to its
containing box.
Also, when positioning