<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta name="MSSmartTagsPreventParsing" content="TRUE" /> <meta name="DC.title" content="" /> <title>Remplacement d'image pour la bannière - methode 1</title> <style type="text/css"> * : { margin:0;padding:0; background:#fff; color:#ff0066; font-family:arial; } div#layout { width: 790px; position: absolute; top: 0;left: 50%; margin-left: -395px; border:1px solid #ff0066; } div#header { width:100%; height:100px; } div#header h1 { width: 790px; height:200px; margin-left: -395px; position: absolute; top: -100px;left: 50%; font-size:50px; background:#000 url(ban.png) bottom left no-repeat; } div#header h1 a { width:790px; height:100%; display:block; background:transparent; } div#inner { padding:15px; } ul#menu { width:150px; float:left; list-style:none; border:1px solid #ff0066; border-right:4px solid #ff0066; } ul#menu a { width:144px; padding:3px; display:block; font-size:0.8em; color:#ff0066; text-decoration:none; } ul#menu a:hover { background:#ff0066; color:#fff; } div#page { width:535px; margin-left:15px; padding:20px; border:1px solid #ff0066; font-size:0.9em; font-family: 'Century Gothic', 'Lucida Grande', Helvetica, Arial, sans-serif; overflow:scroll; } </style> </head> <body> <div id="layout"> <div id="header"> <h1><a href="index.html" title="retour à l'accueil">Calak's Blog</a></h1> </div> <div id="inner"> <ul id="menu"> <li><a href="index.html">Page sans l'image</a></dd> <li><a href="methode01.html">Méthode 01</a></dd> <li><a href="methode02.html">Méthode 02</a></dd> </ul> <div id="page"> <pre> { source } </pre> </div> </div> </div> </body> </html>