à tous
Tout d'abord je tiens à m'excuser si je me trompe de forum mais je ne sais pas vraiment si le problème vient de XSL, de HTML, de CSS ou de Firefox 1.5.
J'ai un souci avec mon fond : il ne s'affiche pas. Pourtant le code me parait bon :
fichier.XSL :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| <xsl:template match="qcm">
<html>
<head>
<link rel="stylesheet" href="qcm.css"/>
</head>
<body>
<table align="center">
<s1><xsl:value-of select="@matiere" /></s1>
</table>
<br/>
<form method="get" action="score.php">
<xsl:apply-templates />
<input type="submit" value="Valider"/>
<input type="reset" value="Recommencer"/>
</form>
</body>
</html>
</xsl:template> |
fichier CSS :
1 2 3 4 5 6 7 8
| body
{
background-attachment:fixed;
background-image:url(fondQCM.jpg);
font-family:Arial, Century Schoolbook L;
font-size:12pt;
color:#CC1100;
} |
j'ai aussi essayé en mettant le fond directement dans le fichier XSL :
<body background="fondQCM.jpg">
mais ça ne fonctionne toujours pas.
Si quelqu'un pouvait m'aider...
d'avance.
Partager