更改地址栏中的图标 [英] Changing the icon in the address bar

查看:79
本文介绍了更改地址栏中的图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

小组,


道歉,如果这是错误的群体,但我想我会先从这里开始...


客户问我如何更改浏览器地址栏中

文本左侧的图标。


例如,如果你去这里 http://www.microsoft.com ,标准互联网图标

出现在地址栏的最开头,至少在IE6中出现。


但是,如果你去这里: http://www.caragan.co.uk ,一个不同的符号(两个
$出现b $ b红色三角形)。如果你将网站添加到你的收藏夹,那么图标就是

也会转移到那里。


有谁知道怎么做?我在他们的主页上做了一个View Source并且

找不到任何明显的东西。


这是通过元标记,JavaScript还是一个来完成的CSS设置......?


一如既往地感激地收到任何帮助。


Mark

解决方案

你好,


这可以通过将.ico文件放在根目录中来完成。

你也可以需要在页面中添加一个元标记......类似于......

url-ico =文件名等。


-

Niraj Ranka

成功的意愿是浪费,除非你有准备的意愿!!!


" Mark Rae" <毫安** @ mark-N-O-S-P-A-M-rae.co.uk>在消息中写道

新闻:%2 *************** @ TK2MSFTNGP10.phx.gbl ...

嗨组,

道歉,如果这是错误的群体,但我想我会从这里开始
首先......

一位客户问我如何更改

如果你去这里 http://www.microsoft.com ,标准互联网
图标出现在地址栏的最开头,至少在IE6中出现。

但是,如果你去这里: http://www.caragan.co.uk ,出现一个不同的符号(两个红色三角形)。如果您将网站添加到收藏夹中,图标
也会转移到那里。

有谁知道如何做到这一点?我在他们的主页上做了一个View Source,并且找不到任何明显的东西。

是通过元标记,JavaScript还是CSS设置来完成的??

一如既往地感激地收到任何帮助。

Mark



" Niraj Ranka" < NI ********** @ hotmail.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...

这可以通过将.ico文件放在根目录中来完成。
您还需要在页面中添加一个元标记...类似于......
url-ico = filename或什么。




非常好 - 非常感谢。我随后发现了这篇文章:
http://www.webdevelopersjournal。 com / ... s / favicon.html


2005年10月29日星期六08:54:02 +0100,Mark Rae写道:

" Niraj Ranka" < NI ********** @ hotmail.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...

这可以可以通过将.ico文件放在根目录中来完成。
此外,您还需要在页面中添加一个元标记...类似于......
url-ico =文件名等。



非常好 - 非常感谢。我随后发现了这篇文章:
http://www.webdevelopersjournal。 com / ... s / favicon.html




我发现这并不总是适用于IE。


Hi group,

Apologies if this is the wrong group, but I thought I''d start here first...

A client has asked me how to change the icon immediately to the left of the
text in the browser address bar.

E.g., if you go here http://www.microsoft.com, the "standard" Internet icon
appears at the very beginning of the address bar, at least it does in IE6.

However, if you go here: http://www.caragan.co.uk, a different symbol (two
red triangles) appears. If you add the site to your favourites, the icon is
carried over to there too.

Does anyone know how to do this? I did a View Source on their homepage and
couldn''t find anything obvious.

Is this done through a meta tag, JavaScript, or maybe a CSS setting...?

Any assistance gratefully received, as always.

Mark

解决方案

Hello,

This can be done by some placing the .ico file in the root directory.
Also you need to add one meta tag in the page... something like..
url-ico=filename or something.

--
Niraj Ranka
The will to be successfull is waste, unless u have the will to prepare!!!

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...

Hi group,

Apologies if this is the wrong group, but I thought I''d start here
first...

A client has asked me how to change the icon immediately to the left of
the text in the browser address bar.

E.g., if you go here http://www.microsoft.com, the "standard" Internet
icon appears at the very beginning of the address bar, at least it does in
IE6.

However, if you go here: http://www.caragan.co.uk, a different symbol (two
red triangles) appears. If you add the site to your favourites, the icon
is carried over to there too.

Does anyone know how to do this? I did a View Source on their homepage and
couldn''t find anything obvious.

Is this done through a meta tag, JavaScript, or maybe a CSS setting...?

Any assistance gratefully received, as always.

Mark



"Niraj Ranka" <ni**********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...

This can be done by some placing the .ico file in the root directory.
Also you need to add one meta tag in the page... something like..
url-ico=filename or something.



Excellent - thanks very much. I subsequently found this article:
http://www.webdevelopersjournal.com/...s/favicon.html


On Sat, 29 Oct 2005 08:54:02 +0100, Mark Rae wrote:

"Niraj Ranka" <ni**********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...

This can be done by some placing the .ico file in the root directory.
Also you need to add one meta tag in the page... something like..
url-ico=filename or something.



Excellent - thanks very much. I subsequently found this article:
http://www.webdevelopersjournal.com/...s/favicon.html



I find that this does not always work with IE.


这篇关于更改地址栏中的图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆