par
Skafari » 12 août 2007, 14:41
Bnjour, alors j'ai un décalage entre deux images (on s'en doutait pas

) mais difficile d'expliquer alors voici une capture d'image (site en local

).
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 !!
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: ).
[url]http://csnf.franceserv.com/upload/images/Sanstitre5.jpgUxZivUyyl3WbidGtD16H.jpg[/url]
Mon HTML:
[code]<!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>[/code]
Et le CSS:
[code]#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%;
}[/code]
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 !!