Firefox “problem” turns out to be Dominic problem


Big thanks to Sig for helping me out with my Firefox CSS issue. He was dead right – it was a MIME issue that was easily fixed by setting the MIME type to text/css in the header of the dynamic CSS.

More details here: Generating Dynamic CSS with PHP

I’ve left the demonstration in place here: Dynamic CSS MIME demonstration but adjusted the text to make it clear I was at fault, not the browser.

Why do the other browsers behave differently? Well the CSS was returned to the page within an element of the page’s header that declared the contents to be text/css so it was fairly easy for a “smart” browser to guess my intention. And also quite easy for me to make the fatal assumption that that was enough.

We live and learn. And Firefox is a strict mistress.

0 Responses to “Firefox “problem” turns out to be Dominic problem”



  1. No Comments Yet

Leave a Reply




Introduction

This is not a riot

Share me

Add to Technorati Favorites

Dominic's photographs

londonlions

450px-Trafalgar_square_lion

Gilbert

Grays Marina

More Photos