Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Firefox is loading IE6-only style sheets on AJAX requests

  • 2 réponses
  • 7 ont ce problème
  • 9 vues
  • Dernière réponse par AnonymousUser

more options

Firefox is loading IE6-only CSS stylesheets on AJAX requests. I'm using Firefox 3.6.3, and making an AJAX request that contains the following HTML (in the HEAD):


This logic works fine in other browsers, and it works fine on regular page loads/sans-AJAX (i.e. the stylesheet is loaded ONLY in IE6). On AJAX requests, however, Firefox sees this line of code and loads the stylesheet via a GET request, applying my IE6 styles to the page. I have tried formatting the conditional code differently (lt IE 6, lte IE 6, IE 6, etc.), but I get the same result every time.

I think this might be a bug in the latest version of Firefox (although I am unable to test on multiple versions of the browser at this time). Please let me know if there is anything I can do to work around this issue!

Firefox is loading IE6-only CSS stylesheets on AJAX requests. I'm using Firefox 3.6.3, and making an AJAX request that contains the following HTML (in the HEAD): This logic works fine in other browsers, and it works fine on regular page loads/sans-AJAX (i.e. the stylesheet is loaded ONLY in IE6). On AJAX requests, however, Firefox sees this line of code and loads the stylesheet via a GET request, applying my IE6 styles to the page. I have tried formatting the conditional code differently (lt IE 6, lte IE 6, IE 6, etc.), but I get the same result every time. I think this might be a bug in the latest version of Firefox (although I am unable to test on multiple versions of the browser at this time). Please let me know if there is anything I can do to work around this issue!

Toutes les réponses (2)

more options

It looks like these support forums are stripping out my HTML. Here is the code mentioned in my post above:

<!--[if lte IE 6]> <link rel="stylesheet" type="text/css" href="/Style Library/IFT-IE6.css" /> <![endif]-->

more options

3.6.8, same issue