Stijn Goris said:
When using the relative positioning, relative to what is it positioned?
Relative to where the element would have been if it had not been
relatively positioned.
Lets say I use a table in a table in a table
http://dorward.me.uk/www/nested/
and place a layer inside.
What's a layer?
<layer> was a Netscape 4-ism that no other browser supports.
In CSS terms the word layer is not precisely defined, it could be any
positioned element, or any element with a z-index set, or something
more precise.
Relative to what table will the layer be positioned?
Depends on the precise code used.
If you use a simple position: relative then the "layer" will not be
positioned relative to any of the tables, it will be positioned
relative to where it would have been if the position style had not
been applied.
If you use position: absolute then the "layer" will be positioned
relative to the nearest parent element with position set to something
other than static (the default) or to the root element if no parent is
positioned.
Steve