Forum Moderators: open

Message Too Old, No Replies

{div} tags not displaying in NN4.75 when drawn off-screen

A large scrolling (x & y) page has numerous nested layers: dont work in NN

         

stephfox

7:41 am on Dec 6, 2001 (gmt 0)



I've built a large, scrolling page (both x and y scrolling). It's got a number of nested layers, which each have a javascripted scroll action.

In IE this works fine, in NN the nested layer only draws to screen if the layer is within the window on load. The layers that are off the screen at the time don't draw the nested layer at all. No amount of coaxing with setting visibility seems to work for them.

Has anybody had a similar experience? Any work arounds? It's a gimmicky trick I'm trying to achieve, but one that works great in IE...

tedster

9:07 am on Dec 6, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World, stephfox.

I've seen similar rendering problems in Netscape. I've often found work-arounds, and even more often located errors in my code. However, there is a level of complexity where NN just seems to quit.

The most important issues in checking out whether Netscape will do particular thing:

1. Make sure the code actually validates. IE forgives many errors that NN does not, so I like to take that question off the table first before I conclude that I can't make Netscape work.

2. Watch out for tables inside divs -- for some reason this can really choke up Netscape, so I work to format using only stylesheets as much as I can. Many times layout tables are just a remnant of past coding habits rather than really being needed.

3. Make sure there is no proprietary IE code. This extends to their different event handling models. I need my O'Reilly reference books here -- I just start looking up the terms my code is using and reading the documentation on browers differences.

stephfox

2:47 am on Dec 7, 2001 (gmt 0)



Thanks Tedster for your reply.

I've gone through and validated both the HTML and the CSS, but I'm still getting the same issue. Unfortuantely now one of the layers which draws off-screen now displays properly, but the others don't.

If you've the time, the URL: [rare.com.au...]

It works fine in IE 5, but NS 4.75 gives the problems.

And I know the alignment, styles and type is all over the place, I'm trying to nail the functionality before cleaning it all up.

Thanks.