DIV rendering bug in MSN for Mac OS X
Synopsis: if there is no whitespace
between the end tag of an absolutely positioned DIV and the end tag of the
containing element, the containing element does not
appear. The containing element does not have to be relatively positioned,
although I have used a relatively positioned div here to illustrate the
test more clearly.
This is statically positioned div. It needs more text so that the
relatively positioned containing DIV is longer than the absolutely
positioned div on the left side. How much text will I need? It's hard to
tell. There, that should be enough.
This is the absolutely positioned div
And now a version without whitespace
This is statically positioned div. It needs more text so that the
relatively positioned containing DIV is longer than the absolutely
positioned div on the left side. How much text will I need? It's hard to
tell. There, that should be enough. Guess what, if there is no whitespace
between the end tag of the absolutely positioned element and the end tag of
the containing element, the relatively positioned wrapper div does not appear.
This is the absolutely positioned div
CodeBitch (codebitch@macedition.com) 17 May 2003