La feuille de style de mon site est ignorée par tous les navigateurs que j'ai testés. Je reçois cette erreur lors du test sur IE9 - SEC7113: CSS a été ignoré en raison d'incompatibilité de type mimeCSS a été ignoré en raison d'une incompatibilité de type mime
Voici le html de l'en-tête le référençant. Faites-moi savoir si vous avez besoin de plus pour passer.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server">
<title></title>
<!--The style sheet below is the one being ignored-->
<link rel="stylesheet" type="text/css" charset="UTF-8" href="Styles/Site.css" />
<!-- Skin CSS file -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.9.0/build/assets/skins/sam/skin.css" />
<!-- Utility Dependencies -->
<script src="http://yui.yahooapis.com/2.9.0/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script src="http://yui.yahooapis.com/2.9.0/build/element/element-min.js"></script>
<!-- Needed for Menus, Buttons and Overlays used in the Toolbar -->
<script src="http://yui.yahooapis.com/2.9.0/build/container/container_core-min.js"> </script>
<script src="http://yui.yahooapis.com/2.9.0/build/menu/menu-min.js"></script>
<script src="http://yui.yahooapis.com/2.9.0/build/button/button-min.js"></script>
<!-- Source file for Rich Text Editor-->
<script src="http://yui.yahooapis.com/2.9.0/build/editor/editor-min.js"></script>
<script src="http://yui.yahooapis.com/2.9.0/build/editor/simpleeditor-min.js"></script>
</head>
Est-ce sur votre propre serveur personnel? Il se peut qu'il ne soit pas envoyé le fichier CSS avec le type mime correct. – TheZ
Quel est votre serveur? Pouvez-vous changer [les fichiers .htaccess] (http://wiki.joyent.com/display/gen/Configuring+MIME+Types+in+.htaccess)? –
Essayez de mettre le chemin absolu à la place relatif – debianek