Lien sur icône, html
LD
-
LD -
LD -
Bonjour,
Pouvez-vous m'expliquer pourquoi mon image n'est pas cliquable et ne renvoie pas vers un lien ? (layer 2)
<html>
<div id="Layer1" style="position:absolute; left:0px; top:0px; width:0px; height:0px; z-index:1"><img name="xxx" img src="signaturemail_alexandre_01.png" width="2050" height="680" alt=""></div>
<div id="Layer2" style="position:absolute; left :54px; top:536px; width:0px; height:0px; z-index:1" <a href="http://facebook.com" rel="nofollow noopener noreferrer" target="_blank"></a><img name="xxx" img src="facebookbleuvert.png" width="87" height="87"
</div>
</map>
<body>
</body>
</html>
Merci
Pouvez-vous m'expliquer pourquoi mon image n'est pas cliquable et ne renvoie pas vers un lien ? (layer 2)
<html>
<div id="Layer1" style="position:absolute; left:0px; top:0px; width:0px; height:0px; z-index:1"><img name="xxx" img src="signaturemail_alexandre_01.png" width="2050" height="680" alt=""></div>
<div id="Layer2" style="position:absolute; left :54px; top:536px; width:0px; height:0px; z-index:1" <a href="http://facebook.com" rel="nofollow noopener noreferrer" target="_blank"></a><img name="xxx" img src="facebookbleuvert.png" width="87" height="87"
</div>
</map>
<body>
</body>
</html>
Merci
A voir également:
- Lien sur icône, html
- Lien url - Guide
- Créer un lien pour partager des photos - Guide
- Icone - Guide
- Verificateur de lien - Guide
- Editeur html - Télécharger - HTML
1 réponse
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>
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