Bonjour j'ai un fichier common.xsl qui contient le code pr générer la structure du site (header - footer) :
L'inclusion de la feuille de style css :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" version="1.0" encoding="iso-8859-1" /> <xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>n8-crew</title> <link rel="stylesheet" type="text/css" href="themes/style.css" /> </head> <body> <table align="center" style="text-transform:uppercase;"> <tr> <td><a href="index.php?page=nouveautes">nouveautes</a></td> <td><a href="index.php?page=evenements">evenements</a></td> <td><a href="index.php?page=galeries">galeries</a></td> <td><a href="index.php?page=liens">liens</a></td> </tr> </table> <hr /> <xsl:apply-templates /> </body> </html> </xsl:template> </xsl:stylesheet>
Marche sous IE mais et partiellement sous FIREFOX ( ex : le background-color ne marche pas ),
Code : Sélectionner tout - Visualiser dans une fenêtre à part <link rel="stylesheet" type="text/css" href="themes/style.css" />
une solution ?
Partager