Moi sur mon site (http://pagesperso-orange.fr/axoul/) j'ai mis:
- Code: Tout sélectionner
<BODY BGCOLOR=darkorange>
Axoul

<BODY BGCOLOR=darkorange>


jeromecold a écrit:Sur Windows, y'a une fonction de Microsoft qui permet de le faire mais sa marche que sur Windows.
Le mieux, c'est de faire un dégradé en image (jpg par exemple) et le définir cette image en fond de page!

.HTML

<body style="background:url("super_beau_degrade.jpg") repeat-x #c7fe30;">
<!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=utf-8" />
<title>Index.html</title>
// -
// -- Ton style CSS
// -
<style type='text/css'>
body.chargeur { background:url('images/monBackground.jpg') repeat-x background-attachment:fixed; }
</style>
// -
// -- Fin style CSS
// .
</head>
// -
// -- Tu appelle ta classe CSS sous body
// -
<body class='chargeur'>
// -
// -- Les éléments textes et images de ta page ici.
// -
</body>
</html>
<body style='background:url(images/monBackground.jpg) repeat-x background-attachment:fixed;'>
// -
// -- Les éléments visuels de ta page « textes, images, vidéos et +
// -
</body>
<!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=utf-8" />
<title>Index.html</title>
// -
// -- Ton style CSS
// -
<style type='text/css'>
body.chargeur { background:url('images/monBackground.jpg') repeat-x fixed; }
</style>
// -
// -- Fin style CSS
// .
</head>
// -
// -- Tu appelle ta classe CSS sous body
// -
<body class='chargeur'>
// -
// -- Les éléments textes et images de ta page ici.
// -
</body>
</html>
<body style='background:url(images/monBackground.jpg) repeat-x fixed;'>
// -
// -- Les éléments visuels de ta page « textes, images, vidéos et +
// -
</body>
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités