[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] html and css - browser issue?
|
Michael Cramer wrote:
Paul wrote:
Here's a fact that will push you over the edge: Saving the page
through either IE or Mozilla causes the CSS to work within Mozilla
when the local copy is viewed! Try saving the page, then upload that
version to the Web server and test it.
It works locally because reading from the local filesystem doesn't
give Mozilla an incorrect MIME type -- it doesn't give a MIME type at
all.[*] The local versions, uploaded back to the webserver will not
work any better than the originals. In fact, they should be identical
to the originals. And being identical, the webserver will continue to
return them as text/plain.
[*] This may not be entirely true. In theory, the OS *could* be
telling Mozilla it's a text/css document. I don't know if Mozilla pays
attention to such metadata or not.
This didn't make a difference, but Mozilla saved the CSS file with a
.txt extension. I also noticed some reordering of parameters. My only
point is that the local and remote files are not identical.
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|