www.webdeveloper.com
Results 1 to 10 of 10

Thread: Why can i see my content in Netscape 7

  1. #1
    Join Date
    Jul 2003
    Posts
    184

    Why can i see my content in Netscape 7

    Hi!

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

    this page

    Can someone help me!

    turb

  2. #2
    Join Date
    Jan 2004
    Posts
    2,422
    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...

  3. #3
    Join Date
    Jul 2003
    Posts
    184
    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...

  4. #4
    Join Date
    Nov 2003
    Location
    Aachen, Germany
    Posts
    4,090
    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
    The perfect website, which isn't one: http://www.pit-r.de (completely re-designed)

    Bad news for many "important" members here: I am still alive.

  5. #5
    Join Date
    Jul 2003
    Posts
    184
    Thank alot!

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

  6. #6
    Join Date
    Nov 2003
    Location
    Aachen, Germany
    Posts
    4,090
    Hi!

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

    Cheers - Pit
    The perfect website, which isn't one: http://www.pit-r.de (completely re-designed)

    Bad news for many "important" members here: I am still alive.

  7. #7
    Join Date
    Jul 2003
    Posts
    184
    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!

  8. #8
    Join Date
    Jul 2003
    Posts
    184
    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??

  9. #9
    Join Date
    Nov 2003
    Location
    Aachen, Germany
    Posts
    4,090
    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
    The perfect website, which isn't one: http://www.pit-r.de (completely re-designed)

    Bad news for many "important" members here: I am still alive.

  10. #10
    Join Date
    Jul 2003
    Posts
    184
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles