Page 1 sur 1

Décalage entre deux images

Posté : 12 août 2007, 14:41
par Skafari
Bnjour, alors j'ai un décalage entre deux images (on s'en doutait pas :lol: ) mais difficile d'expliquer alors voici une capture d'image (site en local :wink: ).

http://csnf.franceserv.com/upload/image ... GtD16H.jpg


Mon HTML:

Code : Tout sélectionner

<!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"> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8891-1" /> <meta http-equiv="pragma" content="no-cache" /> <title>World of RP - Forums</title> <link rel="shortcut icon" type="image/x-icon" href="template_default/images/favicon.ico" /> <link href="template_default/template_D.css" rel="stylesheet" type="text/css" media="screen, print, handheld" /> </head> <body> <div id="header" > </div> <div id="menu_header" > <table> <tr> <td><a href="#">Acceuil</a></td> </tr> <tr> <td><a href="#">Forums</a></td> </tr> <tr> <td><a href="#">News</a></td> </tr> <tr> <td><a href="#">Privée</a></td> </tr> </table> </div> </body> </html>
Et le CSS:

Code : Tout sélectionner

#header { background-image: url('images/header.jpg'); width: 906px; height: 179px; float: right; } #menu_header table, a { margin-left: 15px; margin-top: 12px; text-align: right; color: lightgrey; font-style: "Trebuchet MS"; font-size: 0.9em; line-height: 140%; } #menu_header td { background-image: url('images/menu_header.jpg'); background-repeat: no-repeat; width: 120px; height: 36px; } #menu_header td a:hover { margin-left: 5px; text-align: right; color: lightgrey; font-style: 'Trebuchet MS'; font-size: 0.9em; line-height: 140%; }
Je voudrais supprimer le décalge pour que les images du menu et le header se touche mais depuis 1/2 heure pas moyen :? .

J'espere que vous serez m'aidez ! :)

Merci d'avance !!

Posté : 12 août 2007, 22:21
par AB
<table cellpadding="0" cellspacing="0">

Posté : 13 août 2007, 10:28
par Skafari
Merci beaucoup !

Resolue :wink: .