favicon werkt niet

Status
Niet open voor verdere reacties.

hesselv

Nieuwe gebruiker
Lid geworden
29 okt 2010
Berichten
1
Hallo,

Hopelijk kan iemand mij helpen. Ik hem dmv publisher een website gemaakt.
In de html-code van de index.htm en overige twee pagina's heb ik in de head de code voor favicon gezet en de favicon ook geupload en staat in de root.
Nu is hij wel zichtbaar op de twee overige pagina's van de website, maar niet op de index.htm, wat vervelend is want dat is de hoofdpagina uiteraard.
Ik begrijp niet wat ik verkeerd doe. Dit staat nu in de head van index.htm:
Alvast bedankt!

HTML:
<head>
<link rel="shortcut icon" href="favicon.ico" href="favicon.ico" type="image/
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
b\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Trancition</title>
<style>
<!--
 /* Lettertypen */
@font-face
	{font-family:"Arial Black";
	panose-1:2 11 10 4 2 1 2 2 2 4;}
@font-face
	{font-family:Arial;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
 /* Opmaakprofielen */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin-right:0pt;
	text-indent:0pt;
	margin-top:0pt;
	margin-bottom:0pt;
	text-align:left;
	font-family:"Times New Roman";
	font-size:10.0pt;
	color:black;}
p.MsoOrganizationName, li.MsoOrganizationName, div.MsoOrganizationName
	{margin-right:0pt;
	text-indent:0pt;
	margin-top:0pt;
	margin-bottom:0pt;
	text-align:left;
	font-family:"Trebuchet MS";
	font-size:14.0pt;
	color:black;}
ol
	{margin-top:0in;
	margin-bottom:0in;
	margin-left:-2197in;}
ul
	{margin-top:0in;
	margin-bottom:0in;
	margin-left:-2197in;}
@page
	{size:8.-2019in 11.2232in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="3074" fill="f" fillcolor="white [7]"
  strokecolor="black [0]">
  <v:fill color="white [7]" color2="white [7]" on="f"/>
  <v:stroke color="black [0]" color2="white [7]">
   <o:left v:ext="view" color="black [0]" color2="white [7]"/>
   <o:top v:ext="view" color="black [0]" color2="white [7]"/>
   <o:right v:ext="view" color="black [0]" color2="white [7]"/>
   <o:bottom v:ext="view" color="black [0]" color2="white [7]"/>
   <o:column v:ext="view" color="black [0]" color2="white [7]"/>
  </v:stroke>
  <v:shadow color="#ccc [4]"/>
  <v:textbox inset="2.88pt,2.88pt,2.88pt,2.88pt"/>
  <o:colormru v:ext="edit" colors="lime,red,blue,#ff7c80,#f00006,#ed3b03,#d22104"/>
 </o:shapedefaults><o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
</head>
 
Laatst bewerkt door een moderator:
Hoi hesselv,
Wat er nu staat, is:
HTML:
<link rel="shortcut icon" href="favicon.ico" href="favicon.ico" 
   type="image/
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
... d.w.z. de tag <link> is niet compleet, die eindigt in het luchtledige met een onafgesloten type-eigenschap. Is dat in het echt ook zo, of is er iets mis gegaan met het kopiëren/plakken?
In elke geval staat nu ook de verwijzing er twee keer in, dat is sowieso fout.
Ik doe het altijd zo:
HTML:
<link rel="shortcut icon" href="favicon.ico">
Dus helemaal zonder de type-eigenschap erbij. Dat werkt in alle browsers die ik ken.
Helpt dit?
Met vriendelijke groet,
CSShunter

PS: Publisher maakt heel erg foute webpagina's aan. :confused:
Als ik jou was, zou ik heel erg gauw overstappen op het gratis KompoZer: hier te downloaden! :)
 
Laatst bewerkt:
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan