Bryce's Radio Experiments
The Intersection of PDAs, Wireless, Radio, and CSS.

Permanent Link Monday, July 15, 2002

@#$%! Mozilla

My site, and my former roommate's, have been broken in Mozilla since RC1. For some reason Mozilla refused to link our stylesheets. Our sites have little in common, we run different software (Radio vs. Movable Type) and use different doctypes (HTML 4.01 Strict vs. XHTML 1.0 Transitional).

I ignored the problem for some time: there were more pressing things to do, Mozilla marketshare is miniscule, and my site degrades reasonably gracefully when CSS support is missing or broken.

Lately I've been using Mozilla more, so today I finally decided to find and fix the problem. After much Google and Bugzilla searching, it seemed clear to me that I have been using the right HTML tags, in the right way, and that everything should be working as is.

Resorting to experimentation, somewhere along the way I changed my LINK tag to a relative URI from a fully-qualified one. Suddenly it worked fine on my local Radio server, but not on the remote server. Hmmmm...

Mime types. Apache wasn't configured to send a text/css mime type for CSS files, adding the relevant entries to httpd.conf cleared up everything.

It's always something stupid with Mozilla.

Follow-up: I still had problems with the desktop website after the various changes. Turned out that in some cases I was using radio.macros.imageUrl to generate links to the stylesheets. For the local website this caused Radio to generate File URLs instead of HTTP.

I'm guessing that Mozilla fails to assign the proper Mime type when handling File URLs. To quote myself: It's always something stupid with Mozilla.

4:02:14 PM | Comments:


© Copyright 2003 T Bryce Yehl Click here to send an email to the editor of this weblog.
Last update: 6/29/2003; 9:36:47 PM.
the