Hello experts,
I would be very grateful if you would have a look at the following
URL:
http://www.omeganet.de/test.html
The html file and the associated style have been validated
successfully by the online validators of w3.org.
In my opinion, the word "ABSOLUTE" should appear within the blue
frame, 10 pixels from the left side of the blue frame.
According to the CSS 2.1 reference on w3.org regarding the
"position:absolute" style: "The box's position (and possibly size) is
specified with the 'top', 'right', 'bottom', and 'left' properties.
These properties specify offsets with respect to the box's containing
block.".
Since the div containing the word "ABSOLUTE" is placed within the div
with the blue frame, the div with the blue frame is the containing
block, right? So why is the word "ABSOLUTE" placed 10 pixels left from
the _browser_ window, which is completely wrong?
I get this behaviour in the latest versions of IE, Firefox, Mozilla
and Opera, so I suspect the error is on my side although I have read
the specs multiple times.
Thanks for your help
Peter