why in netscape and firefox?

Discussion in 'HTML & Website Design' started by itismejoshy, Dec 19, 2006.

  1. #1
    here is my problem: i have a popup that only pops up if the user is not logged in. but if using firefox or netscape the popup still comes up but it's only got the html in it. works great in IE.?? what should i do to make it display in all browsers?


    view it here:

    http://www.4freeforums.com/wp-forum.php
     
    itismejoshy, Dec 19, 2006 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    Check your link. I get a 404 error for that document.

    cheers,

    gary
     
    kk5st, Dec 19, 2006 IP
  3. itismejoshy

    itismejoshy Peon

    Messages:
    130
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hmmm....works for me...thats odd? any one else get a 404?
     
    itismejoshy, Dec 19, 2006 IP
  4. weknowtheworld

    weknowtheworld Guest

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes It's a broken link... :)
     
    weknowtheworld, Dec 19, 2006 IP
  5. itismejoshy

    itismejoshy Peon

    Messages:
    130
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    what browser you guys using? because i just tested it in netscape and i get a 404 but others it loads....?
     
    itismejoshy, Dec 19, 2006 IP
  6. SamOwen

    SamOwen Peon

    Messages:
    865
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #6
    What's popping up is a .tpl file not an html or php file. Change the file extension.
     
    SamOwen, Dec 19, 2006 IP
  7. itismejoshy

    itismejoshy Peon

    Messages:
    130
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    damn, your right! how did i not see that.....thanks samowen!!
     
    itismejoshy, Dec 19, 2006 IP
  8. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #8
    FYI: The applicable standard for http/1.1 is found in "Request for Comments: 2616".

    Which quite clearly states,
    emphasis added.

    The .tpl extension would normally cause the web server to use the common default MIME type text/plain, which yours surely does.
    Note the Content-Type: text/plain response header.

    Your problem lay hidden when using IE as your test bed, a notably Bad Idea. IE quite wrongly ignores the response header. If the document looks like html, which yours does, it will treat it as text/html despite the rules.

    Just one more reason to use a good browser as your test bed. IE is not a good browser.

    cheers,

    gary
     
    kk5st, Dec 19, 2006 IP
  9. itismejoshy

    itismejoshy Peon

    Messages:
    130
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    kk5st thanx for the info, very interesting, ya i am not a big fan of ie but for some reason my sites always work great with it, firefox is my choice and normaly ok, but netscape, i hate netscape can never figure out why some things don't work. thanx again!
     
    itismejoshy, Dec 22, 2006 IP