<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>Latest from ghostzhang's 问与答</title>
	<link rel="alternate" type="text/html" href="http://www.cssforest.org/faq/node-2.html" />
	<link rel="self" type="application/atom+xml" href="http://www.cssforest.org/faq/feed/node/2.atom" />
	<updated>2012-05-17T09:29:50Z</updated>
	<generator>project goldenfaith</generator>
	<id>http://www.cssforest.org/faq/</id>
		<entry>
			<title type="html">问个关于背景的问题 ... 3 replies</title>
			<link rel="alternate" href="http://www.cssforest.org/faq/topic/view/23.html" />
			<content type="html">说不清楚是什么，大家看我下面的举例吧！&lt;br /&gt;
&lt;br /&gt;
如果一个css文件用的是css sprite，里面的所有图片都是在一个文件上的！&lt;br /&gt;
你们是把所都定义在一起然后background-position，还是每个样式都background:url(images/pic.png) no-repeat 0 0;&lt;br /&gt;
&lt;br /&gt;
第一种例如：&lt;br /&gt;
.div1 ,&lt;br /&gt;
.div2, &lt;br /&gt;
h1,h2, {background:url(images/pic.png) no-repeat 0 0;}&lt;br /&gt;
&lt;br /&gt;
然后在下面需要的时候再：&lt;br /&gt;
.div1 {background-position:0 -100px;}&lt;br /&gt;
.div2 {background-position:0 -300px;}&lt;br /&gt;
h1 {background-position:0 -400px;}&lt;br /&gt;
h2 {background-position:0 -500px;}&lt;br /&gt;
&lt;br /&gt;
还是第二种：&lt;br /&gt;
&lt;br /&gt;
.div1 {background:url(images/pic.png) no-repeat 0 -100px;}&lt;br /&gt;
.div2 {background:url(images/pic.png) no-repeat 0 -300px;}&lt;br /&gt;
h1 {background:url(images/pic.png) no-repeat 0 -400px;}&lt;br /&gt;
h2 {background:url(images/pic.png) no-repeat 0 -500px;}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
你是用第一种还是第二种呢？为什么？&lt;br /&gt;
还是有第三种的也可以探讨！</content>
			<author>
				<name>xunzou@gmail.com (冰剑)</name>
			</author>
			<updated>2012-04-23T03:40:59Z</updated>
			<id>http://www.cssforest.org/faq/topic/view/23.html</id>
		</entry>
		<entry>
			<title type="html">测试发帖 ... 3 replies</title>
			<link rel="alternate" href="http://www.cssforest.org/faq/topic/view/25.html" />
			<content type="html">&lt;img src=&quot;/faq/image/silk/emoticon_smile.gif&quot; style=&quot;padding: 0 2px;&quot; alt=&quot;&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
请忽视，这只是一张测试帖！</content>
			<author>
				<name>zhg27@qq.com (zhg27)</name>
			</author>
			<updated>2011-09-13T15:44:46Z</updated>
			<id>http://www.cssforest.org/faq/topic/view/25.html</id>
		</entry>
		<entry>
			<title type="html">关于CSSForest的*::selection ... 1 replies</title>
			<link rel="alternate" href="http://www.cssforest.org/faq/topic/view/24.html" />
			<content type="html">头次拜访，发现CSS Forest很是惊艳的一个小特色:鼠标选择的区块会变绿色 文字会变白色 研究了一下 原来是 *::selection{background-color:#80D31A;color:#FFFFFF;} 这一句 但是百度了很久都没有度出来*::selection 是啥意思 烦请GHOST指点一下啊 谢啦 很不错的效果 可惜ie8又不支持~~</content>
			<author>
				<name>leftorright1103@yahoo.com.cn (leftorright)</name>
			</author>
			<updated>2010-05-22T14:27:56Z</updated>
			<id>http://www.cssforest.org/faq/topic/view/24.html</id>
		</entry>
		<entry>
			<title type="html">问个关于字体的问题 ... 2 replies</title>
			<link rel="alternate" href="http://www.cssforest.org/faq/topic/view/14.html" />
			<content type="html">&lt;img src=&quot;/faq/image/silk/emoticon_tongue.gif&quot; style=&quot;padding: 0 2px;&quot; alt=&quot;&quot; /&gt; 大家做页面用什么默认字体？，谢谢</content>
			<author>
				<name>feiwen8772@qq.com (feiwen8772)</name>
			</author>
			<updated>2009-10-22T09:24:56Z</updated>
			<id>http://www.cssforest.org/faq/topic/view/14.html</id>
		</entry>
		<entry>
			<title type="html">有关前端部署 ... 2 replies</title>
			<link rel="alternate" href="http://www.cssforest.org/faq/topic/view/22.html" />
			<content type="html">&lt;span style=&quot;font-weight: bold;&quot;&gt;有股强烈的欲望要深入了解有关前端部署&lt;br /&gt;
有无相关的资料共享&lt;br /&gt;
谢谢！&lt;/span&gt;</content>
			<author>
				<name>bullock0330@gmail.com (caihua)</name>
			</author>
			<updated>2009-08-28T08:41:57Z</updated>
			<id>http://www.cssforest.org/faq/topic/view/22.html</id>
		</entry>
		<entry>
			<title type="html">问个问题，关于广告的 ... 3 replies</title>
			<link rel="alternate" href="http://www.cssforest.org/faq/topic/view/10.html" />
			<content type="html">就是现在好多网站比如迅雷、搜房等他们的flash广告为什么要在上面增加透明的图片，这个有什么用处呢？有什么好处呢？</content>
			<author>
				<name>xunzou@gmail.com (冰剑)</name>
			</author>
			<updated>2009-07-24T02:25:35Z</updated>
			<id>http://www.cssforest.org/faq/topic/view/10.html</id>
		</entry>
		<entry>
			<title type="html">测试一下。 ... 5 replies</title>
			<link rel="alternate" href="http://www.cssforest.org/faq/topic/view/2.html" />
			<content type="html">&lt;div class=&quot;m&quot;&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;/faq/misc/lightbox/lightbox.js&quot;&gt;&lt;/script&gt;&lt;a href=&quot;http://www.linxz.cn/images/logo.gif&quot; rel=&quot;lightbox&quot;&gt;&lt;img src=&quot;http://www.linxz.cn/images/logo.gif&quot; class=&quot;c&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
只有UBB编辑器啊~不能上传图片！</content>
			<author>
				<name>linxz@vip.qq.com (linxz)</name>
			</author>
			<updated>2009-07-24T02:07:50Z</updated>
			<id>http://www.cssforest.org/faq/topic/view/2.html</id>
		</entry>
		<entry>
			<title type="html">纯属测试 ... 0 replies</title>
			<link rel="alternate" href="http://www.cssforest.org/faq/topic/view/9.html" />
			<content type="html">&lt;img src=&quot;/faq/image/silk/emoticon_happy.gif&quot; style=&quot;padding: 0 2px;&quot; alt=&quot;&quot; /&gt; 测试，测试</content>
			<author>
				<name>poor@asia.com (poor)</name>
			</author>
			<updated>2009-07-24T01:26:09Z</updated>
			<id>http://www.cssforest.org/faq/topic/view/9.html</id>
		</entry>
</feed>
