Hi
As far as I know, absolute positioning is relative to a containing block that provides a positioning context, which by default, is the document. Thus, by default, absolute positioning should be specified with respect to the edges of html document and not with respect to the edges of a viewport (browser window)?!
For example, assuming html document has an element E with width of 2000px, then the width of this document is around 2000px and thus the following code:
#abs
{
position: absolute;
top: 128px;
right: 0px;
width: 100px;
}
should place an element #abs to the far right of the document ( distance between far right and far left of the document is around 2000px ). Instead, #abs is placed to the right side of the viewport. What am I missing?
Thanx