Positioning In NS and IE

They have: 5,633 posts

Joined: Jan 1970

I have been fooling around with DHTML for a little while now and am having some trouble in positioning in NS4 and NS6. While I have no trouble in IE4+. Right now I have a table cell that I have placed a relative DIV with the top and left set to 0px. I then nest a few DIVS in the outer DIV using absolute positioning setting the top and left to 0px causing them to overlap each other... this should position the inner DIVs absolutely within the outer DIV. Which it does in IE and NS6 without a problem but not NS4. It places the outer DIV in the cell fine but the inner DIVs don't overlap one another. The DIV just appear vertically one after another.

example:

In NS4 these Images in the div wouldn't overlap one another like they should. They follow one another vertically displaying both of them instead of just inner1.

Any help or info would be much appreciated...

Kyle

They have: 9 posts

Joined: Feb 2001

probably, the only way to make it work in NC4 is to use separate divs and absolute positioning for all of them. I had similar troubles with div-in-div in NC4.

They have: 21 posts

Joined: Nov 2000

Hi Kyle,

This code worked fine for me in NS4.75

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.