English 中文(简体)
他们的 log子是什么?
原标题:What is the google tricks on their logo?
  • 时间:2011-10-31 04:05:48
  •  标签:
  • html
  • image

当我看一看自己的标志,复制形象道路时,我去谷歌,而不是主页时,就显示:

http://www.google.com/images/nav_logo91.png

但它并非只是一个标志,它也有许多一目。 为什么谷歌利用这种方式这样做? 任何结果或只是展示其技术技能? 此外,如何只展示一部分形象? 感谢。

最佳回答

它是一种 sp。 这样做可以减少档案规模和负荷时间。

You can splice the image using JavaScript or using CSS (CSS being the more popular choice). You can make the element with a div tag, then set the background-image property to the URL you ve specified. Then use the background-position property to align it appropriately. Lastly, set the expected width and height of the div.

问题回答

其名称为CSS。 很多网站都使用这一技术,网站上的所有(dec)图像都包含在单一图像中。

这种单一形象的规模往往小于所有个人形象的总和(每个图像都有自己的彩色表)。 此外,从服务器上打上单一图像意味着对吉大港山区应用系统服务器的要求较少。

然后,将大型图像作为背景,使用<条码>背后地定位和其他社会功能,以确保只需要部分间谍活动。

如同阿农一样,他们已经解释过,他们改称“CSS”间谍活动,以扩大一些用于防止过度的吉大港定居地的申请。

该网站只有一张图像可以装上,因此可以把这个图像用于多个背景,而只能通过使用背景定位使某些领域能够浏览。

A good explanation is here: http://css-tricks.com/158-css-sprites/





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签