RD> I do wonder if either of the above methods would force the RD> browser to never cache the CSS file locally
You know, I didn't think about that, as I've never personally used this method. I've never had a need. Thinking about it now, I would also think that you may need to send a content-type header of "text/css" to the browser, as well, though I'm not positive on this.
OT --> Consequently, I've had a lot of trouble with IE caching any CSS file for a site I'm working on. Works perfectly in Mozilla, but IE has all sorts of bugs. It's loading the page before the CSS every time, so you get this flash of unformatted data. The client and most of their site users use IE, so I have to make it work. My boss found an odd work-around, though. If you put "<script type="text/javascript"> </script>" at the very top, just inside the <head> tag, then it will work just fine and load in the CSS first every time. I don't know the logic behind it, but, if it's IE, does there have to be any logic? ;-)
-- Regards, Ben Ramsey http://benramsey.com http://www.phpcommunity.org/wiki/People/BenRamsey
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php