[RESOLVED] MIME trouble?

liunx

Guest
I have a simple CSS page, and fully-validated XHTML page.
This CSS page also validates.

It works great in IE and Firefox. It will not, however, work in Netscape6.

I've seen discussions about a possible MIME type problem, but those threads always refer to "a server." I'm strictly local at this time. My NN will just not use the style sheet.

As near as I can tell - my DOCTYPE, link, etc etc is all spot-on, but I'd be happy to try anything at this point!

Thanks!Mozilla has always been very picky about content types but I've never seen a browser worry about that when the protocol is basically <!-- m --><a class="postlink" href="file://.Can">file://.Can</a><!-- m --> you post your HTML and CSS in full? Maybe there's a markup or CSS error that's getting in the way.

Then again, it's Netscape 6, which wasn't based on at least the 1.0 version of the Gecko Runtime Environment. It's not guaranteed to be bug free. Don't wory about Netscape 6. Just Worry about Firefox 1+, Mozilla 1+ and Netscape 7+ for Gecko-based browsers.ok, here's the markup and the css. both extremely simple for this example, but nevertheless, it won't work in NN6.2.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>PRACTICE PRACTICE PRACTICE</title>
<link type="text/css" rel="stylesheet" href=http://www.webdeveloper.com/forum/archive/index.php/"stylePRACTICE.css" />
</head>
<body>

<p>
This whole thing is just for troubleshooting my
Netscape...oh, the pain....
</p>

</body>
</html>


and the css

p{background-color: #ff0000;
color: #3366ee;}


that's it. you can use any kind of style, nothing works, i just reduced it to this one.

ideas?It works fine in NS6.0, NS6.1, and NS6.23 for me.verrrrry interesting!

and plenty of other sites work fine on my NN, just not my own CSS.

so - can I be delivering the style sheet - from the local file - in some non-GOOD MIME type, or some other bad way?

i keep wanting to tweak my NN settings, helper apps, and such, but it keeps coming back to: other sites work fine, and my site works fine on other people's Netscape. This leaves my particular file "structure" as a suspect.This might be a total shot in the dark, but try adding media="all" or media="screen" to the LINK tag.Tried both, no luck.

Thanks all of you for the ideas so far.GOT IT! :D

My CSS file was not saved as a Text Document, but as a Unicode Text Document.

And that has made all the difference!

>>Making giant memo to be more vigilant about such things. Apparently, FF and IE don't care that much about the distinction.

The fact that it worked somewhere else really allowed me to focus on my own PC. Thanks again.
 
Top