阅读:1516回复:0
如何在IE地址栏显示自己的小图标
1<STRONG>、首先下载一个</STRONG><STRONG>ICO</STRONG><STRONG>图标制作工具:</STRONG> Axialis IconWorkshop 6.10 简体中文企业版<BR> <STRONG>制作图标如下:<BR> </STRONG><STRONG><IMG src="http://www.cnblogs.com/images/cnblogs_com/cry/2008-02-03_1.png" border=0><BR> 32 X 32 </STRONG><STRONG>和</STRONG><STRONG>16 X 16</STRONG><STRONG>均可。</STRONG><STRONG><P></P></STRONG>
<P><STRONG>2</STRONG><STRONG>、在</STRONG><STRONG>.aspx</STRONG><STRONG>文件的</STRONG><STRONG><head></STRONG><STRONG>部分添加如下代码:<BR> </STRONG><link rel="shortcut icon" href="../Images/1.ico" type="image/x-icon" /><BR> <link rel="shortcut icon" href="../Images/3.ico" type="image/x-icon" /><P></P></P> <P ><STRONG>其中</STRONG>rel<STRONG>必须为</STRONG>"shortcut icon",href<STRONG>是指</STRONG><STRONG>ICO</STRONG><STRONG>图标存放的位置,可以任意位置。</STRONG><STRONG><P></P></STRONG></P> <P>3、运行效果:</P> <P> 如果顺序是这样:<BR> <link rel="shortcut icon" href="../Images/1.ico" type="image/x-icon" /><BR> <link rel="shortcut icon" href="../Images/3.ico" type="image/x-icon" /><BR> 结果为:<BR> <IMG src="http://www.cnblogs.com/images/cnblogs_com/cry/2008-02-03_2.png" border=0> <BR><BR> 如果顺序是这样:<BR> <link rel="shortcut icon" href="../Images/3.ico" type="image/x-icon" /><BR> <link rel="shortcut icon" href="../Images/1.ico" type="image/x-icon" /><BR> 结果为:<BR> <IMG src="http://www.cnblogs.com/images/cnblogs_com/cry/2008-02-03_3.png" border=0></P> |
|
|