Forum Moderators: open

Message Too Old, No Replies

DIV position absolute in netscape

problems on resize

         

Refael

12:14 am on Jun 5, 2003 (gmt 0)



Hi,

Thankful if someone can help me

I have created html page with 3 div position absolute, in IE it works as it should that if the user resize the browser the page and its div`s resized accordingly.

In Netscape there is something I can not get, try to open the page in Netscape and now resize the browser, now go to the right end of the page (with the bottom scroll) and see that the div`s stays very small not accordingly to the page size.

Here is the link
<edit - no personal or example links>

Thanks...

[edited by: tedster at 1:16 am (utc) on June 5, 2003]

BlobFisk

9:54 am on Jun 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could use the following JavaScript to reload the page on resize:


function reDo() {
window.location.reload()
}

window.onresize = reDo;

You could add some browser sniffing in so that it only reloads the page of NN4.x

hartlandcat

9:50 pm on Jun 6, 2003 (gmt 0)

10+ Year Member



What version of Netscape are you testing this in?

[edited by: tedster at 2:09 am (utc) on June 7, 2003]

Refael

1:23 am on Jun 7, 2003 (gmt 0)



I tested the page in Netscape 7.0

Please let me hear your thoughts.

[edited by: tedster at 2:10 am (utc) on June 7, 2003]

tedster

3:08 am on Jun 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The resize bug in Netscape 4 is nearly legendary - but so far I haven't come across anything about a Netscape 7 resize bug.

Before we look for a work-around for what certainly might be a new bug, the best step to take is to validate your existing code. Often IE will "forgive" an error in HTML when Netscape will not.

The best place to check is with the W3C, the standards body for the web.

HTML Validator [validator.w3.org]
CSS Validator [jigsaw.w3.org]

If the code is valid and the problem remains, I'd suggest trying BlobFisk's solution which will force the page to reload when there's a resize. That's the way people dealt with the NN4 resize bug.