.ico pour site web

faboons -  
 fab -
Bonsoir à tous,

deuxième post de la journée, encore mieux que le précédent.

Question bête :

exite t-il un moyen d'afficher un .ico sur une page en html ?
Non ce n'est pas une blague je en sais pas comment on fait...

Merci d'avance.
Fab.
A voir également:

9 réponses

RAD ZONE Messages postés 5362 Statut Contributeur 1 360
 
SALUT
Comme nimpote quelle autre image ù
<img src="URL DE TON ICON.ico" />

RAD
0
fab
 
salut,

merci de ta réponse.
Non ça ne marche pas, j'ai déjà essayé.

En l'occurence,

  <img src=""burronet_1024_768/img/en_.ico" />  ou  <img src=""burronet_1024_768/img/en_.ico" </img> 
ne fonctionnent pas, rien ne s'affiche.

Une autre idée???
@+.
Fab.
0
fab
 
Désolé pour lafaute, il n'y a bien qu'un quote au départet ça ne marche pas!!!
0
RAD ZONE Messages postés 5362 Statut Contributeur 1 360
 
src=""
enleve la double "

edit

loool j avais pas vus le message !!
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
RAD ZONE Messages postés 5362 Statut Contributeur 1 360
 
tu as l url absolu ou c est en local ?
0
fab
 
non c'est en local, je te montre le code :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Author" content="V&eacute;ra, Jens, Fabien"/>
<meta name="Category" content="Vente de courant porteur en ligne, maintenance de réseaux, Linux"/>
<meta name="Language" content="fr"/>
<meta name="Description" content="Entreprise burro-net, vente de mat&eacute;riel et logiciel pour les r&eacute;seaux entreprise"/>
<meta name="Keywords" content="Vente, Cpl, Ethernet, Wi-fi, Linux, professionnels, particuliers, documentation, services, d&eacute;pannage, maintenance"/>
<title>Burro-net - Sarl - Sp&eacute;cialiste en montage de r&eacute;seaux d'entreprise</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/bn_pg_one.css" type="text/css" />
<script src="script/functions.js" type="text/javascript"></script>
<script src="script/AC_RunActiveContent.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
if (screen.width <= 1024) {
  window.location.href = "../index.php";
}		
//-->
</script>
<!-- php codepart 1 here -->
<?php require("libs/dbconnect.php");
 ?>
<!-- php codepart 1 end -->
</head>

<body onload="setEntryPoint('www.burro-net.com','lastvisit',24)">
<div align="center"> 
<table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="13%" height="30px" nowrap="nowrap" bgcolor="#235868"></td>
    <td width="1%" nowrap="nowrap" bgcolor="#235868"></td>
    <td width="66%" align="center" nowrap="nowrap" bgcolor="#235868" class="menu" id="navigation" >
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
         <tr >
         <td width="1%" nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td rowspan="6" width="18%" nowrap="nowrap" class="menu" id="navigation" ><a href="../index.php" title="Accueil">Accueil</a>&nbsp;&nbsp;&nbsp;</td>
           <td width="18%" nowrap="nowrap"><a href="produits.php" title="Produits">
         Produits</a>&nbsp;&nbsp;&nbsp;</td>
           <td width="18%" nowrap="nowrap"><a href="linux.php" title="Linux">
         Linux</a>&nbsp;&nbsp;&nbsp;</td>
           <td width="27%" nowrap="nowrap"><a href="doc.php" title="Documentation">
         Documentation</a>&nbsp;&nbsp;&nbsp;</td>
           <td width="18%" nowrap="nowrap"> <a href="services.php" title="Services">
        Services</a>&nbsp;&nbsp;&nbsp;</td>
           <td width="18%" nowrap="nowrap"> <a href="faq.php" title="FAQ">
        FAQ</a>&nbsp;&nbsp;</td></tr></table></td>
    <td width="1%" nowrap="nowrap" bgcolor="#235868"></td>
    <td width="19%" nowrap="nowrap" bgcolor="#235868">

<img src="../burronet_1024_768/img/en_.ico" /></td>
 </tr>
  <tr>
    <td width="13%" height="15"></td>
    <td width="1%">&nbsp;</td>
    <td width="66%" align="left"><img src="img/acc.gif" alt="Vous &ecirc;tes &agrave; l'accueil" width="590" height="20" border="0"/>   </td>
    <td width="1%">&nbsp;</td>
    <td width="19%">&nbsp;</td>
  </tr>
  <tr>
    <td width="13%" height="450" bgcolor="#C5E6E9"><img src="img/logo1.jpg" alt="logo burro-net" title="logo burro-net" width="130" height="292" id="logo" /></td>
    <td width="1%" >&nbsp;</td>
	
	<td width="66%" bgcolor="#EFEFEF"  valign="top" align="center" >
	<table>
	<tr>
		
	
    <td class="pageHeader">
          <p>R&eacute;seaux ex<span class="redX">X</span>xtr&ecirc;mes!</p></td></tr>
<tr>
<td  align="center"><p class="bodyText">
<!-- php codepart 2 here -->
<?PHP
$sql ='SELECT * FROM `index` LIMIT 0 , 1 '; 
$page_text_query = mysql_query($sql) or die("Query failed");
$cont = mysql_fetch_array($page_text_query);
echo $cont['text'] ?>
<!-- php codepart 2 end -->
</p>
  </td>
</tr>
</table></td>
    <td width="1%" valign="top" >&nbsp;</td>
  
	
	
	<td valign="top" width="19%" bgcolor="#BDD7D9" >
      <div align="center"><img src="img/devolo_pano.gif" alt="Panorama produits CPL" title="Panorama produits CPL" width="150" height="149" /><br/></div>
       <br/><br/><br/>
	   <div><p>
<!-- php codepart 3 here -->
<?PHP
$sql ='SELECT * FROM `index` '; 
$page_text_query = mysql_query($sql) or die("Query failed");
$cont = mysql_fetch_array($page_text_query);
echo $cont['text-right'] ?>
<!-- php codepart 3 end -->
         </p></div>
           </td>
  </tr>
  <tr bgcolor="#ffffff">
    <td width="13%" height="15">&nbsp;</td>
    <td width="1%" height="15">&nbsp;</td>
    <td width="66%" height="15">&nbsp;</td>
    <td width="1%" height="15">&nbsp;</td>
    <td width="19%" height="15">&nbsp;</td>
  </tr>
  <tr bgcolor="#235868">
    <td width="13%" height="50">&nbsp;</td>
    <td width="1%" height="50">&nbsp;</td>
    <td width="66%" height="50" class="navText"><div align="center" >
	          Burro-net&nbsp;SARL&nbsp;&nbsp;66110&nbsp;Am&eacute;lie-les-Bains&nbsp;&nbsp;Pyr&eacute;n&eacute;es-Orientales<br/>     
              FRANCE&nbsp;&nbsp;T&eacute;l.&nbsp;00&nbsp;336&nbsp;10&nbsp;70&nbsp;31&nbsp;44&nbsp;&nbsp;<span class="menu" id="navigation2"><a href="contact.php" title="Contact"  onclick="openContactBurro(this.href); return false">CONTACTEZ-NOUS</a></span></div></td>
    <td width="1%" height="50">&nbsp;</td>
    <td width="19%" height="50">&nbsp;</td>
  </tr>
</table>
</div>
<?php mysql_close(); ?>
</body>
</html>


Voilà donc le lien est bien fait mais je n'aipas d'image à l'écran.
Fab.
0
fab
 
Sinon je mets un gif, c'est dommage, c'est parce-que le site sera en plusieurs langues et j'ai trouvé des petits drapeaux en .ico.
Je peux les convertir peut-être je vais chercher.
C'était par curiosité.
Si tu as une soluce je suis quand même preneur.

@+.
Fab.
0
RAD ZONE Messages postés 5362 Statut Contributeur 1 360
 
oui mais le code c est pourtant ca ;--))

ICON dans une page html
0
fab
 
Ok autant pour moi, mon image n'était pas dans une div, maintenant elle s'affiche...

Merci de ta patience.

@+.
Fab.
0