Click to See Complete Forum and Search --> : Why can i see my content in Netscape 7


turb
05-15-2004, 09:29 PM
Hi!

like the title said, i can't see the content of this page in Netscape:

this page (http://acces.visionclient.ca/2004/)

Can someone help me!

turb

Ben Rogers
05-15-2004, 10:09 PM
What content isn't being shown? I looked in the source and I didn't see any content to speak of, besides the links which is showing up fine in Mozilla Firefox.

EDIT: Major typo... I must be tired...

turb
05-15-2004, 10:20 PM
yes the content is the link menu... it's look fine in all browser but in netscape 7, i can't see the link menu...

Pittimann
05-16-2004, 08:45 AM
Hi!

In the head, you are calling an external js file:
<script type="text/javascript" src="includes/script.js"></script>

This one doesn't exist, so your server "substitutes" it with a 404 page. The source code of this file looks like this:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
The requested URL /2004/includes/script.js was not found on this server.<p>
<hr>
<address>Apache/1.3.27 Server at www.visionclient.ca Port 80</address>
</body></html>

This is the resulting error displayed in Mozilla's javascript console:
--------------
Error: syntax error
Source File: http://acces.visionclient.ca/2004/includes/script.js
Line: 1
Source Code:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
--------------
It seems, NS stops loading the page because of that (it tries reading a js file [which isn't one] and finds a tag inside, which is not permitted). In your posts you did not mention that you are missing something on the page itself. So just try deleting or commenting out the above mentioned script tag...

Cheers - Pit

turb
05-16-2004, 10:49 AM
Thank alot!

and sorry but i taught the js file was on the server.

Pittimann
05-16-2004, 10:55 AM
Hi!

You're welcome and I hope, your stuff now works! :)

Cheers - Pit

turb
05-16-2004, 11:34 AM
unfortunately, the page is not showing layout & content in NN7.

I think (if i look the scrollbar) that the problem must be an overflow problem!

turb
05-17-2004, 02:32 PM
Ok so... if i put a overflow: auto; instead of overflow: hidden;, i finally can see my page in NN but the problem is that it's put a scrollbar in my div when i see my page in Moz??

Pittimann
05-17-2004, 03:05 PM
Hi!

Just try the following concerning the overflow:

#view {
overflow: hidden;
}
#bord {
overflow: hidden;
}
#hold {
overflow: auto;
}
#menu {
overflow: hidden;
}

I had a different solution before dealing with the float; the one above seems to be more appropriate.

Another thing: please make sure to use unique ids. The tags in your code using identical ids can get their attributes by assigning a class...

Cheers - Pit

turb
05-17-2004, 03:13 PM
Thank Pittimann for you time!

here's the report:

NN7 now display my page;
MOZ don't display a scroll on my div

Small problem:

IE5 seem to ignore the float: left; for #main