Bonjour,
Pour adapter ton fond à la résolution de l'écran du client, voilà un script à mettre entre </head> et <body>:
<script type="text/javascript">
<!--
if (screen.width==800&&screen.height==600)
{
document.write("<body background=\"fondAcceuil800-600.jpg\">");
}
else
if (screen.width==1024&&screen.height==768)
{
document.write("<body background=\"fondAcceuil1024-768.jpg\">");
}
else
if (screen.width==1280&&screen.height==1024)
{
document.write("<body background=\"fondAcceuil1280-1024.jpg\">");
}
else
if (screen.width==1600&&screen.height==1200)
{
document.write("<body backround=\"fondAcceuil1600-1200.jpg\">");
}
else document.write("<body backround=\"fondAcceuil_si_rien_ne_correspond.jpg\">");
//-->
</script>
A+