Michael Cramer on 12 Aug 2004 15:22:03 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] html and css - browser issue?


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.

--
Mike Cramer
http://www.webkist.com/ | AIM: MikeWebkist
___________________________________________________________________________
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