On Oct 16, 2006, at 10:35 AM, Andrew Ivin wrote:
I am trying to find out what Netscape 6's capabilities are as far as
relative positioning goes.
I have a page where I have a parent div, absolutly positioned, with
two relatively positioned child block level elemnets; one positioned
to the top left, the other top right.
The top right absolutely positioned element is ignoring the relative
container in NS 6, and is positioning relative to the viewport - top
right of browser window.
As always, a URL is more than useful...
And I'm not clear. Is the parent container {position:absolute} or
{position:relative;} ?
That makes a big difference.
If the parent container happens to be styled with {position:relative}
*and* is floated (left/right, doesn't matter), then Netscape 6
ignores it for the purpose of absolute positioning (top + right).
That is a bug.
Workaround: inside the floaed div, wrap the contents in a div, and
give that div relative positioning.
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************