Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Weird Netscape 7 Issue - Philzilla help!

Weird Netscape 7 Issue - Philzilla help!
Thread Tools
slimshady023
Forum Regular
Join Date: Apr 2000
Location: California
Status: Offline
Reply With Quote
Jul 26, 2004, 09:31 PM
 
Hi all,

Philzilla might just be the person to crack this one!

I am building a site that looks great on almost all browsers 5+ (it's xhtml transitional). However, I just noticed that Netscape 7 mangles the appearance on first load. On refresh, however, Netscape loads everything perfectly. Without fail, this happens every time.

If anyone knows about this issue, I would be more than grateful... this site is supposed to launch in less than a week, which is another issue all in itself. Eee!

later on!
- Slim

Sample Code from the head. This is loaded in an iFrame -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>News</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="../scripts/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Jul 26, 2004, 10:55 PM
 
Netscape sucks. It screws up the CSS of a site I did, whereas more recent Mozillas don't. I ended up giving up on Netscape entirely.

Good luck.
     
slimshady023  (op)
Forum Regular
Join Date: Apr 2000
Location: California
Status: Offline
Reply With Quote
Jul 26, 2004, 11:12 PM
 
Heh, I guess you could say that Netscape 7 is the new Netscape 4.

I'm still searching for answers on this one, and will post any fixes if they are found. If anyone has any insight, it would be greatly appreciated.

Thanks!
- Slim
     
philzilla
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Jul 27, 2004, 08:40 AM
 
okay, it might help if you can post us a URL to investigate, rather than a snippet of code. cheers.
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
wataru
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Jul 27, 2004, 11:34 AM
 
Originally posted by slimshady023:
Heh, I guess you could say that Netscape 7 is the new Netscape 4.
Exactly!

Except that now it's entirely superfluous. Why does it even exist anymore?
     
slimshady023  (op)
Forum Regular
Join Date: Apr 2000
Location: California
Status: Offline
Reply With Quote
Jul 27, 2004, 12:13 PM
 
Originally posted by philzilla:
okay, it might help if you can post us a URL to investigate, rather than a snippet of code. cheers.
Agreed. I thought it would be in the head, but can't distribute a link with my current non-discloure agreement. Sorry, corporate mumbo jumbo.

I think I've found the problem, though. In testing on my local machine, I found that everything was rendering properly. Once placed on the server, N7 had problems reading the CSS. In mere hours of Google searching, I found a topic about server MIME reading (.css) as text/plain instead of the correct text/css. Apparently, almost all browser don't have a problem with MIME setting, except for Netscape7. Bingo!

I'm going to talk with the server admin, and see if that's the problem.
Thanks for your replies. Cheers!

- Slim
     
slimshady023  (op)
Forum Regular
Join Date: Apr 2000
Location: California
Status: Offline
Reply With Quote
Jul 27, 2004, 02:54 PM
 
Originally posted by slimshady023:
I think I've found the problem, though. In testing on my local machine, I found that everything was rendering properly. Once placed on the server, N7 had problems reading the CSS. In mere hours of Google searching, I found a topic about server MIME reading (.css) as text/plain instead of the correct text/css. Apparently, almost all browser don't have a problem with MIME setting, except for Netscape7. Bingo!
[/B]
Actually, that doesn't seem to be the bit. Back to the drawing board. :/
     
m a d r a
Mac Elite
Join Date: Sep 2001
Location: the intarweb
Status: Offline
Reply With Quote
Jul 30, 2004, 12:59 PM
 
this is a bit of a long shot and probably not related to your problem at all but i'll post it anyway, just in case...

i had having similar probs wi a site i did a while back, only in my case it was working OK in safari and netscrape but IE was ignoring the stylesheet info [or some combo of the above - it was a long time ago!]. anyway, i had included my stylesheet using the following syntax [which unbenknownst to me was wrong]:

Code:
<style type="text/css"> @import url("whatever.css"); </style>
which as i say worked on most browsers apart from IE[?]. when i realised my mistake* and corrected the syntax it worked properly on them all:

Code:
<style type="text/css"> @import url(whatever.css); </style>
[* no inverted commas round stylesheet name]
     
cnelson87
Forum Regular
Join Date: Jul 2002
Location: Seattle
Status: Offline
Reply With Quote
Jul 30, 2004, 01:08 PM
 
does the DOCTYPE tag need a closing slash for xhtml compliance?
     
Arkham_c
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jul 30, 2004, 01:39 PM
 
Originally posted by cnelson87:
does the DOCTYPE tag need a closing slash for xhtml compliance?
Nope.

I remember having such problems back with Netscape 4.x many years ago. Does the problem occur in Mozilla, or just Netscape? Since they use the same engine, if it only fails in Netscape it may be a bug that was corrected in Mozilla but has yet to filter its way down.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 03:44 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,