A voir également:
- Lien sur icône, html
- Lien url - Guide
- Créer un lien pour partager des photos - Guide
- Icone - Guide
- Verifier un lien - Guide
- Editeur html - Télécharger - HTML
1 réponse
greg160
Messages postés
627
Date d'inscription
lundi 28 juin 2010
Statut
Membre
Dernière intervention
21 septembre 2017
189
2 nov. 2016 à 17:32
2 nov. 2016 à 17:32
Actuellement, ton image n'est pas contenu dans le lien :
Ta structure actuelle :
<FICHIER HTML>
<DIV LAYER1>
<Image "xxx" signaturemail>
</DIV LAYER1>
<DIV LAYER 2>
<LIEN>
<IMAGE>
</MAP>
<Corps>
</corps>
</FICHIER HTML>
Normalement au layer 2, tu devrais avoir ceci :
<DIV LAYER2>
<LIEN> /* Ton image est contenue dans le lien */
<IMAGE>
</LIEN>
</DIV LAYER2>
essaye ceci :
<a href="http://facebook.com" rel="nofollow noopener noreferrer" target="_blank"><img name="xxx" type="img/png" src="facebookbleuvert.png" width="87" height="87"></a>
Ta structure actuelle :
<FICHIER HTML>
<DIV LAYER1>
<Image "xxx" signaturemail>
</DIV LAYER1>
<DIV LAYER 2>
<LIEN>
<IMAGE>
</MAP>
<Corps>
</corps>
</FICHIER HTML>
Normalement au layer 2, tu devrais avoir ceci :
<DIV LAYER2>
<LIEN> /* Ton image est contenue dans le lien */
<IMAGE>
</LIEN>
</DIV LAYER2>
essaye ceci :
<a href="http://facebook.com" rel="nofollow noopener noreferrer" target="_blank"><img name="xxx" type="img/png" src="facebookbleuvert.png" width="87" height="87"></a>
2 nov. 2016 à 17:44
un ami m'a apporté une réponse, 'display block' qui fonctionne
Mais je débute :)
<!DOCTYPE html>
<head>
<meta charset="utf-8"/>
<title>
</title>
</head>
<body style=" width: 500px; height: 500px; background: url('alexandre.png') no-repeat;">
<div style=" width: 20px; height: 20px;margin-top: 130px;margin-left: 6px;">
<a href="http://www.facebook.com" rel="nofollow noopener noreferrer" target="_blank" style="display:block; width:100%; height:100%;">
</a>
</div>
</body>
</html>
Merci pour votre réponse,
Bonne soirée