I am trying to set a background image to a <header>
tag into a XSL document with CSS but it's doesn't work (the image doesn't display).
The path of the image is correct. If I set the image with the <img>
balise, It's work.
XSL code:
<xsl:template match="/">
<html>
<head>
<meta charset="utf8" />
<title>Bibliothèque</title>
<link type="text/css" rel="stylesheet" href="exercice9.css" />
</head>
<body>
<header></header>
...
CSS code:
body
{
font-family: sans-serif;
}
header
{
background: url(res/titre.gif");
}
Do you have any idea?
Thank :)