par
zigz4g » 30 nov. 2006, 14:54
Je comprend pas la question et surtout ce que tu veux obtenir.
Voici un exemple rapide d'un div qui passe au dessus de ton body.
J'ai compris que tu voulais en gros faire que ton image de fond commence a partir d'une certaine position pour aller jusqu'a la fin de la page.
Mais je peux me tromper car je n'ai pas compris la semantique de ta page.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Test background image</title>
<style type="text/css">
body {
background:url(../images/ligne.jpg) repeat bottom left;
background-color:#798EC1;
color:#000000;
font-family:verdana,sans-serif;
font-size:11px;
}
#test {
width: 200px;
height: 200px;
background-color: #ffffff;
}
</style>
</head>
<body>
<div id="test">Un test</div>
</body>
</html>
Je comprend pas la question et surtout ce que tu veux obtenir.
Voici un exemple rapide d'un div qui passe au dessus de ton body.
J'ai compris que tu voulais en gros faire que ton image de fond commence a partir d'une certaine position pour aller jusqu'a la fin de la page.
Mais je peux me tromper car je n'ai pas compris la semantique de ta page.
[php]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Test background image</title>
<style type="text/css">
body {
background:url(../images/ligne.jpg) repeat bottom left;
background-color:#798EC1;
color:#000000;
font-family:verdana,sans-serif;
font-size:11px;
}
#test {
width: 200px;
height: 200px;
background-color: #ffffff;
}
</style>
</head>
<body>
<div id="test">Un test</div>
</body>
</html>
[/php]