|
|
Weird Netscape 7 Issue - Philzilla help!
|
|
|
|
Forum Regular
Join Date: Apr 2000
Location: California
Status:
Offline
|
|
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>
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status:
Offline
|
|
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.
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Apr 2000
Location: California
Status:
Offline
|
|
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
|
|
|
|
|
|
|
|
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
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
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status:
Offline
|
|
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?
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Apr 2000
Location: California
Status:
Offline
|
|
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
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Apr 2000
Location: California
Status:
Offline
|
|
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. :/
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: the intarweb
Status:
Offline
|
|
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]
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Jul 2002
Location: Seattle
Status:
Offline
|
|
does the DOCTYPE tag need a closing slash for xhtml compliance?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
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 Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|