Sent by Markus Glötzel on 7 July 2002 10:10
Hi Stuart, hi pandion, hi all,
pandion wrote:
> "If the element has 'position: absolute', the containing block is
> established by the nearest ancestor with a 'position' other than
> 'static', in the following way...."
> http://www.w3.org/TR/REC-CSS2/visudet.html#x0
>
> The containing DIV (in this case) needs to be positioned too,
> before it can be the "containing block".
If you don't want to position the "containing block", but let it be shown in
the normal flow of the document, use
position:relative
It does no harm, and it's not "static", so the absolutely positioned childs
will behave like you expect.
cheers
Markus
(please excuse my english, I know it's awful.)
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net