<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Xiaoxiao&#039;s Weblog &#187; css</title>
	<atom:link href="http://liuyuntian.com/tag/css/feed" rel="self" type="application/rss+xml" />
	<link>http://liuyuntian.com</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 16:54:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>《CSS禅意花园》中文版</title>
		<link>http://liuyuntian.com/2007/04/18/css-zen-garden-the-chinese-version.html</link>
		<comments>http://liuyuntian.com/2007/04/18/css-zen-garden-the-chinese-version.html#comments</comments>
		<pubDate>Wed, 18 Apr 2007 22:11:36 +0000</pubDate>
		<dc:creator>xiaoxiao</dc:creator>
				<category><![CDATA[转载备份]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[中文版]]></category>

		<guid isPermaLink="false">http://liuyuntian.com/2007/04/18/css-zen-garden-the-chinese-version.html</guid>
		<description><![CDATA[　　[url=http://www.amazon.com/Zen-CSS-Design-Visual-Enlightenment/dp/0321303474/sr=1-1/qid=1166171286/ref=sr_1_1/103-8663095-7515006?ie=UTF8&#038;s=books]《THE ZEN OF CSS DESIGN: VISUAL ENLIGHTENMENT FOR THE WEB》[/url]的中文版《CSS禅意花园》开始发售了。

　　Chinapub宣传地址：　http://www.china-pub.com/STATIC07/0703/jsj_flying_070314.asp

　　购买地址：http://www.china-pub.com/computers/common/info.asp?id=33191

　　今年应该是前台制作较缺的一年，有喜欢研究CSS或从事这一行的朋友们可以观注一下这本书。

　　]]></description>
			<content:encoded><![CDATA[<p>　　<a target="_blank" href="http://www.amazon.com/Zen-CSS-Design-Visual-Enlightenment/dp/0321303474/sr=1-1/qid=1166171286/ref=sr_1_1/103-8663095-7515006?ie=UTF8&amp;s=books">《THE ZEN OF CSS DESIGN: VISUAL ENLIGHTENMENT FOR THE WEB》</a>的中文版《CSS禅意花园》开始发售了。</p>
<p>　　Chinapub宣传地址：　http://www.china-pub.com/STATIC07/0703/jsj_flying_070314.asp</p>
<p>　　购买地址：http://www.china-pub.com/computers/common/info.asp?id=33191</p>
<p>　　今年应该是前台制作较缺的一年，有喜欢研究CSS或从事这一行的朋友们可以观注一下这本书。</p>
<p>　　<span id="more-401"></span></p>
<hr /><h2>相关文章</h2><ul><li><a href="http://liuyuntian.com/2008/12/02/update-wordpress-27-rc1.html" rel="bookmark" title="Permanent Link: 升级到WordPress2.7RC1">升级到WordPress2.7RC1</a></li><li><a href="http://liuyuntian.com/2008/02/01/google-chinese-punctuation-marks-bug.html" rel="bookmark" title="Permanent Link: 一年多了，谷歌的这个问题依旧。">一年多了，谷歌的这个问题依旧。</a></li><li><a href="http://liuyuntian.com/2008/02/04/talk-with-driver-and-the-blind.html" rel="bookmark" title="Permanent Link: 和司机、和盲人聊天">和司机、和盲人聊天</a></li></ul><hr /><small>Copyright &copy;  2003-2009 Xiaoxiao's Weblog All rights reserved.<br /> </small>]]></content:encoded>
			<wfw:commentRss>http://liuyuntian.com/2007/04/18/css-zen-garden-the-chinese-version.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>[新书]Transcending CSS: The Fine Art of Web Design</title>
		<link>http://liuyuntian.com/2006/12/21/transcending-css-the-fine-art-of-web-design.html</link>
		<comments>http://liuyuntian.com/2006/12/21/transcending-css-the-fine-art-of-web-design.html#comments</comments>
		<pubDate>Thu, 21 Dec 2006 09:39:28 +0000</pubDate>
		<dc:creator>xiaoxiao</dc:creator>
				<category><![CDATA[体验与设计]]></category>
		<category><![CDATA[转载备份]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://liuyuntian.com/2006/12/21/transcending-css-the-fine-art-of-web-design.html</guid>
		<description><![CDATA[　　今年讲CSS的书真的不少，一本是[url=http://www.andybudd.com/]Andy[/url]的《CSS Mastery》已经在国内[url=http://www.china-pub.com/computers/common/info.asp?id=32551]有的翻译卖了[/url]，到年底了，[url=http://www.stuffandnonsense.co.uk]Andy Clark[/url]出版了《Transcending CSS》。

　　这里是官方网站：　http://www.transcendingcss.com/
　　[img]http://farm1.static.flickr.com/142/328170022_3632ae5bed.jpg[/img]
　　作者介绍：Andy Clarke has been working on the web for almost ten years. He is a visual web]]></description>
			<content:encoded><![CDATA[<p>　　今年讲CSS的书真的不少，一本是<a target="_blank" href="http://www.andybudd.com/">Andy</a>的《CSS Mastery》已经在国内<a target="_blank" href="http://www.china-pub.com/computers/common/info.asp?id=32551">有的翻译卖了</a>，到年底了，<a target="_blank" href="http://www.stuffandnonsense.co.uk">Andy Clark</a>出版了《Transcending CSS》。</p>
<p>　　这里是官方网站：　http://www.transcendingcss.com/<br />
　　<img src="http://farm1.static.flickr.com/142/328170022_3632ae5bed.jpg" /><br />
　　作者介绍：Andy Clarke has been working on the web for almost ten years. He is a visual web <span id="more-360"></span>designer based in the UK and started his design consultancy Stuff and Nonsense in 1998. As lead designer and creative director, his clients include local and national businesses, charities and government bodies and he has designed for The British Heart Foundation, Disney Store UK, Save The Children and WWF UK.</p>
<p>　　Amazon购买点<a target="_blank" href="http://www.amazon.com/Transcending-CSS-Design-Voices-Matter/dp/0321410971/sr=11-1/qid=1166664630/ref=sr_11_1/103-2892977-1303843">这里</a></p>
<hr /><h2>相关文章</h2><ul><li><a href="http://liuyuntian.com/2007/06/16/design-of-the-design.html" rel="bookmark" title="Permanent Link: 读后感：《设计中的设计》">读后感：《设计中的设计》</a></li><li><a href="http://liuyuntian.com/2008/08/10/my-reader-share-2008-08-10.html" rel="bookmark" title="Permanent Link: 我的阅读分享2008.08.10">我的阅读分享2008.08.10</a></li><li><a href="http://liuyuntian.com/2008/04/03/googles-design-guidelines.html" rel="bookmark" title="Permanent Link: Google的设计导引">Google的设计导引</a></li></ul><hr /><small>Copyright &copy;  2003-2009 Xiaoxiao's Weblog All rights reserved.<br /> </small>]]></content:encoded>
			<wfw:commentRss>http://liuyuntian.com/2006/12/21/transcending-css-the-fine-art-of-web-design.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Mastery 下载</title>
		<link>http://liuyuntian.com/2006/09/29/css-mastery-download.html</link>
		<comments>http://liuyuntian.com/2006/09/29/css-mastery-download.html#comments</comments>
		<pubDate>Fri, 29 Sep 2006 11:01:54 +0000</pubDate>
		<dc:creator>xiaoxiao</dc:creator>
				<category><![CDATA[转载备份]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[mastery]]></category>
		<category><![CDATA[下载]]></category>

		<guid isPermaLink="false">http://liuyuntian.com/2006/09/29/css-mastery-download.html</guid>
		<description><![CDATA[　　我认为《CSS Mastery》是目前最好的一本书，当然指网站构建和CSS类的。 [lol] 新闻来源：http://www.punkprojekt.com/2006/07/28/css-mastery-dl/

　　感谢上面的同学，省了我几百大洋。其实国内最近出的一本《CSS网站布局实录》，作者不知道还在不在闪客帝国。可以在这里查看介绍http://www.blueidea.com/news/book/2006/4088.asp

　　CHINA-PUB购买：http://www.china-pub.com/computers/common/info.asp?id=32244

　　Joyo卓越购买：　[url=http://www.joyo.com/book/detail.asp?prodid=zjbk390492&#038;uid=wm7sp6yr2qw68n77lqg7aswg7&#038;source=chinaui]http://www.joyo.com/book/detail.asp?pr...chinaui[/url]]]></description>
			<content:encoded><![CDATA[<p>　　我认为《CSS Mastery》是目前最好的一本书，当然指网站构建和CSS类的。 [lol] 新闻来源：http://www.punkprojekt.com/2006/07/28/css-mastery-dl/</p>
<p>　　感谢上面的同学，省了我几百大洋。其实国内最近出的一本《CSS网站布局实录》，作者不知道还在不在闪客帝国。可以在这里查看介绍http://www.blueidea.com/news/book/2006/4088.asp</p>
<p>　　CHINA-PUB购买：http://www.china-pub.com/computers/common/info.asp?id=32244</p>
<p>　　Joyo卓越购买：　<a target="_blank" href="http://www.joyo.com/book/detail.asp?prodid=zjbk390492&amp;uid=wm7sp6yr2qw68n77lqg7aswg7&amp;source=chinaui">http://www.joyo.com/book/detail.asp?pr&#8230;chinaui</a><span id="more-319"></span></p>
<hr /><h2>相关文章</h2><ul><li><a href="http://liuyuntian.com/2006/02/01/microsoft-released-version-ie7-beta2-public.html" rel="bookmark" title="Permanent Link: 微软发布IE7 beta2 public版本">微软发布IE7 beta2 public版本</a></li><li><a href="http://liuyuntian.com/2005/06/07/flash-8-player-with-file-upload-and-download.html" rel="bookmark" title="Permanent Link: Maelstrom (Flash 8 Player) with file upload and download">Maelstrom (Flash 8 Player) with file upload and download</a></li><li><a href="http://liuyuntian.com/2006/05/08/may-1-during-the-few-things.html" rel="bookmark" title="Permanent Link: 五一期间的几件事">五一期间的几件事</a></li></ul><hr /><small>Copyright &copy;  2003-2009 Xiaoxiao's Weblog All rights reserved.<br /> </small>]]></content:encoded>
			<wfw:commentRss>http://liuyuntian.com/2006/09/29/css-mastery-download.html/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>对CSS 3感兴趣的看这里</title>
		<link>http://liuyuntian.com/2006/08/18/%e5%af%b9css-3%e6%84%9f%e5%85%b4%e8%b6%a3%e7%9a%84%e7%9c%8b%e8%bf%99%e9%87%8c.html</link>
		<comments>http://liuyuntian.com/2006/08/18/%e5%af%b9css-3%e6%84%9f%e5%85%b4%e8%b6%a3%e7%9a%84%e7%9c%8b%e8%bf%99%e9%87%8c.html#comments</comments>
		<pubDate>Fri, 18 Aug 2006 12:47:54 +0000</pubDate>
		<dc:creator>for3w</dc:creator>
				<category><![CDATA[体验与设计]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://liuyuntian.com/2006/08/18/%e5%af%b9css-3%e6%84%9f%e5%85%b4%e8%b6%a3%e7%9a%84%e7%9c%8b%e8%bf%99%e9%87%8c.html</guid>
		<description><![CDATA[　　主站：　http://www.css3.info/
　　　
　　预览：　[exurl]http://www.css3.info/preview/[/exurl]

　　当然，你也可以使用[key=1]IE7 beta3[/key]查看CSS3在IE7下的表现，如果您不想安装IE7 beta3，[key=1]IE7 Beta 3 Preview Standalone[/key]这个版本也可以看一下。]]></description>
			<content:encoded><![CDATA[<p>　　主站：　http://www.css3.info/<br />
　　　<br />
　　预览：　[exurl]http://www.css3.info/preview/[/exurl]</p>
<p>　　当然，你也可以使用[key=1]IE7 beta3[/key]查看CSS3在IE7下的表现，如果您不想安装IE7 beta3，[key=1]IE7 Beta 3 Preview Standalone[/key]这个版本也可以看一下。<span id="more-270"></span></p>
<hr /><small>Copyright &copy;  2003-2009 Xiaoxiao's Weblog All rights reserved.<br /> </small>]]></content:encoded>
			<wfw:commentRss>http://liuyuntian.com/2006/08/18/%e5%af%b9css-3%e6%84%9f%e5%85%b4%e8%b6%a3%e7%9a%84%e7%9c%8b%e8%bf%99%e9%87%8c.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lynda.com CSS for Designers</title>
		<link>http://liuyuntian.com/2006/06/10/lyndacom-css-for-designers.html</link>
		<comments>http://liuyuntian.com/2006/06/10/lyndacom-css-for-designers.html#comments</comments>
		<pubDate>Sat, 10 Jun 2006 08:59:20 +0000</pubDate>
		<dc:creator>for3w</dc:creator>
				<category><![CDATA[体验与设计]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[lynda]]></category>

		<guid isPermaLink="false">http://liuyuntian.com/2006/06/10/lyndacom-css-for-designers.html</guid>
		<description><![CDATA[[img]http://img.verycd.com/posts/0606/post-324498-1149502360.jpg[/img]

推荐一个详细的学习CSS的视频教程：Lynda.com CSS for Designers ，Lydna.com总是很快。

下载点这里：http://www.google.com/search?hl=zh-CN&#038;q=Lynda+com+CSS+for+Designers&#038;btnG=Google+%E6%90%9C%E7%B4%A2&#038;lr=

1. Introduction
Welcome  0:23 2.2 MB
Chapter intro  6:09 9.3 MB
Web standards and CSS  10:53 22.4 MB
CSS goes mainstream  7:38 15.8 MB
The evolution of CSS design  8:45 17.4 MB
Into the future  9:45 13.4 MB

2. Beginning with Markup]]></description>
			<content:encoded><![CDATA[<p><img src="http://img.verycd.com/posts/0606/post-324498-1149502360.jpg" /></p>
<p>推荐一个详细的学习CSS的视频教程：Lynda.com CSS for Designers ，Lydna.com总是很快。</p>
<p>下载点这里：http://www.google.com/search?hl=zh-CN&amp;q=Lynda+com+CSS+for+Designers&amp;btnG=Google+%E6%90%9C%E7%B4%A2&amp;lr=</p>
<p>1. Introduction<br />
Welcome 0:23 2.2 MB<br />
Chapter intro 6:09 9.3 MB<br />
Web standards and CSS 10:53 22.4 MB<br />
CSS goes mainstream 7:38 15.8 MB<br />
The evolution of CSS design 8:45 17.4 MB<br />
Into the future 9:45 13.4 MB</p>
<p>2. Beginning with Markup<br />
<span id="more-214"></span>Chapter intro 4:18 4.1 MB<br />
Creating an XHTML document 8:51 6.3 MB<br />
Adding semantic elements 9:06 11.4 MB<br />
Validating and error correction 8:28 13 MB</p>
<p>3. How CSS Is Applied<br />
Chapter intro 4:05 3.7 MB<br />
Browser style 4:43 6.6 MB<br />
User style 4:57 6.5 MB<br />
Author style: inline 5:35 10.2 MB<br />
Author style: embedded 5:48 11.1 MB<br />
Author style: linked 3:52 7.8 MB<br />
Author style: imported 6:41 13.5 MB<br />
Inheritance 5:16 10.1 MB</p>
<p>4. Conflict Resolution in CSS<br />
Chapter intro 2:19 4.9 MB<br />
Origin and source order 8:57 11.1 MB<br />
The important declaration 5:22 9.4 MB<br />
Specificity (weight) 5:56 7.2 MB</p>
<p>5. CSS Typography<br />
Chapter intro 2:29 1.4 MB<br />
Using CSS to create great-looking type 20:29 34.3 MB<br />
Combining graphics and CSS 9:40 19.7 MB<br />
Examining image replacement 19:35 34.2 MB</p>
<p>6. Working with Color and Contrast<br />
Chapter intro 2:14 2.2 MB<br />
CSS color values 5:52 6.4 MB<br />
Applying color to page elements 3:21 4.1 MB<br />
Applying color to links 5:04 7.5 MB<br />
Managing multiple link styles (descendent selectors) 4:18 6.6 MB<br />
Creating depth of field 4:59 10.4 MB<br />
Testing your design for color blind users 6:44 12.4 MB<br />
Ensuring sufficient contrast 6:15 9.3 MB</p>
<p>7. Background Graphics<br />
Chapter intro 1:58 1.5 MB<br />
Adding a background image to an element 9:29 9 MB<br />
Background repeat 7:44 14.3 MB<br />
Background position 5:09 10.7 MB<br />
Fixed or scroll background 4:40 9 MB</p>
<p>8. CSS for Navigation<br />
Chapter intro 1:22 2.4 MB<br />
Removing bullets or numbers from lists 6:46 9 MB<br />
Using images for list markers 6:01 11.8 MB<br />
Creating vertical navigation 5:08 5.8 MB<br />
Designing a text-based horizontal navigation bar 5:10 6.5 MB<br />
Creating a tabbed horizontal navigation bar 11:59 23.5 MB</p>
<p>9. CSS Floats<br />
Chapter intro 2:06 2.1 MB<br />
Floating columns 5:24 11.2 MB<br />
Floating page elements 4:28 9.6 MB<br />
Clearing floats 7:22 15 MB<br />
Multi-column floated layout with header and footer 6:44 14.2 MB</p>
<p>10. CSS Positioning<br />
Chapter intro 2:45 2.7 MB<br />
Normal flow 3:05 6.3 MB<br />
Relative positioning 4:32 6.5 MB<br />
Absolute positioning 2:56 3 MB<br />
Relative positioning to create a positioning context 5:00 7.4 MB<br />
Fixed positioning 4:40 9.4 MB</p>
<p>11. CSS for Design Details<br />
Chapter intro 1:02 2.2 MB<br />
Making panels 8:16 14.5 MB<br />
Creating grids 12:00 12.7 MB<br />
Laying out products 4:45 9.2 MB</p>
<p>12. Designing Beautiful Data Tables<br />
Chapter intro 2:00 4 MB<br />
Creating table structures 5:45 5.3 MB<br />
Adding table borders 5:02 8.2 MB<br />
Using backgrounds in tables 4:43 5.1 MB<br />
Special effects 7:01 14.3 MB</p>
<p>13. Styling Forms<br />
Chapter intro 0:35 0.4 MB<br />
Accessible form markup 5:22 5.3 MB<br />
Basic fieldset styling 4:38 8.5 MB<br />
Fieldset grid layout 2:57 5.2 MB<br />
Styling labels and form controls 3:16 6 MB<br />
Styling form buttons 5:12 9.3 MB</p>
<p>14. CSS and Design Workflow<br />
Chapter intro 1:02 1.6 MB<br />
Creating symbols for wireframes in Fireworks 14:57 28.1 MB<br />
Naming conventions for class and ID 8:47 6.6 MB<br />
Organizing your CSS document 8:11 16.5 MB<br />
Working with multiple CSS files 5:58 6.8 MB</p>
<p>Conclusion<br />
Goodbye 0:18 1.7 MB</p>
<hr /><h2>相关文章</h2><ul><li><a href="http://liuyuntian.com/2006/09/18/book-review-on-page-designers-design-thinking.html" rel="bookmark" title="Permanent Link: 书评《设计师谈网页设计思维》">书评《设计师谈网页设计思维》</a></li><li><a href="http://liuyuntian.com/2006/07/14/lyndacom-flex2-essential-training.html" rel="bookmark" title="Permanent Link: Lynda.com.Flex.2.Essential.Training">Lynda.com.Flex.2.Essential.Training</a></li><li><a href="http://liuyuntian.com/2006/10/08/google-groups-beta%e4%b8%8a%e7%ba%bf.html" rel="bookmark" title="Permanent Link: Google Groups beta上线">Google Groups beta上线</a></li></ul><hr /><small>Copyright &copy;  2003-2009 Xiaoxiao's Weblog All rights reserved.<br /> </small>]]></content:encoded>
			<wfw:commentRss>http://liuyuntian.com/2006/06/10/lyndacom-css-for-designers.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Overview of CSS in Dreamweaver 8</title>
		<link>http://liuyuntian.com/2005/10/28/an-overview-of-css-in-dreamweaver-8.html</link>
		<comments>http://liuyuntian.com/2005/10/28/an-overview-of-css-in-dreamweaver-8.html#comments</comments>
		<pubDate>Fri, 28 Oct 2005 11:12:09 +0000</pubDate>
		<dc:creator>for3w</dc:creator>
				<category><![CDATA[转载备份]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[overview]]></category>

		<guid isPermaLink="false">http://liuyuntian.com/2005/10/28/an-overview-of-css-in-dreamweaver-8.html</guid>
		<description><![CDATA[　　Macromeida在[url=http://www.macromedia.com/devnet/dreamweaver/articles/css_dreamweaver.html]最新的文章[/url]中提到了CSS在Dreamweaver 8上的运用。

　　文章中提到了

　　一、Dreamweaver8把CSS的面板增强，把选择式的对话框集成在左侧CSS面板中，并提示了相应CSS规则。

　　二、集成了样式渲染，盒模型DIV的运用在Dreamweaver8得到很好的体现。

　　三、提倡CSS和HTML完全分离。

　　不难看出，MM在新的Dreamweaver８中把CSS提高到一个新的层次，面板集成在明显的位置，更加趋近于W3C提出的一些思想。]]></description>
			<content:encoded><![CDATA[<p>　　Macromeida在<a target="_blank" href="http://www.macromedia.com/devnet/dreamweaver/articles/css_dreamweaver.html">最新的文章</a>中提到了CSS在Dreamweaver 8上的运用。</p>
<p>　　文章中提到了</p>
<p>　　一、Dreamweaver8把CSS的面板增强，把选择式的对话框集成在左侧CSS面板中，并提示了相应CSS规则。</p>
<p>　　二、集成了样式渲染，盒模型DIV的运用在Dreamweaver8得到很好的体现。</p>
<p>　　三、提倡CSS和HTML完全分离。</p>
<p>　　不难看出，MM在新的Dreamweaver８中把CSS提高到一个新的层次，面板集成在明显的位置，更加趋近于W3C提出的一些思想。<span id="more-116"></span></p>
<hr /><h2>相关文章</h2><ul><li><a href="http://liuyuntian.com/2006/05/10/dreamweaver802-upgrades-and-installation-hints.html" rel="bookmark" title="Permanent Link: Dreamweaver8.02 升级和安装提示">Dreamweaver8.02 升级和安装提示</a></li><li><a href="http://liuyuntian.com/2006/01/17/dreamweaver-8-update.html" rel="bookmark" title="Permanent Link: Dreamweaver 8 升级">Dreamweaver 8 升级</a></li><li><a href="http://liuyuntian.com/2005/06/22/dreamweaver-8-began-testing.html" rel="bookmark" title="Permanent Link: Dreamweaver 8 开始测试">Dreamweaver 8 开始测试</a></li></ul><hr /><small>Copyright &copy;  2003-2009 Xiaoxiao's Weblog All rights reserved.<br /> </small>]]></content:encoded>
			<wfw:commentRss>http://liuyuntian.com/2005/10/28/an-overview-of-css-in-dreamweaver-8.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>更新了CSS</title>
		<link>http://liuyuntian.com/2005/10/11/blog-css-update.html</link>
		<comments>http://liuyuntian.com/2005/10/11/blog-css-update.html#comments</comments>
		<pubDate>Tue, 11 Oct 2005 09:38:57 +0000</pubDate>
		<dc:creator>for3w</dc:creator>
				<category><![CDATA[更新日志]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[更新]]></category>

		<guid isPermaLink="false">http://liuyuntian.com/2005/10/11/blog-css-update.html</guid>
		<description><![CDATA[昨天收到[url=http://www.dongde.com]Myraider[/url]的短信，称他的[url=http://www.dongde.com]Blog[/url]已经适合了三个浏览器。于是马上改了一下，不想动了，懒了。现在我的Blog也可以在IE，FireFox，Opera下正常显示了。]]></description>
			<content:encoded><![CDATA[<p>昨天收到<a target="_blank" href="http://www.dongde.com">Myraider</a>的短信，称他的<a target="_blank" href="http://www.dongde.com">Blog</a>已经适合了三个浏览器。于是马上改了一下，不想动了，懒了。现在我的Blog也可以在IE，FireFox，Opera下正常显示了。<span id="more-104"></span></p>
<hr /><h2>相关文章</h2><ul><li><a href="http://liuyuntian.com/2007/11/09/aggregate-3-about-update-blog-skin.html" rel="bookmark" title="Permanent Link: 更新博客Skin总结三点">更新博客Skin总结三点</a></li><li><a href="http://liuyuntian.com/2007/11/03/ready-for-update-blog-theme.html" rel="bookmark" title="Permanent Link: 准备更新博客skin">准备更新博客skin</a></li><li><a href="http://liuyuntian.com/2005/12/01/annual-leave-and-he-blog-week-suspension-update.html" rel="bookmark" title="Permanent Link: 年假到了，Blog暂停更新一周">年假到了，Blog暂停更新一周</a></li></ul><hr /><small>Copyright &copy;  2003-2009 Xiaoxiao's Weblog All rights reserved.<br /> </small>]]></content:encoded>
			<wfw:commentRss>http://liuyuntian.com/2005/10/11/blog-css-update.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla建议的CSS书写顺序</title>
		<link>http://liuyuntian.com/2005/07/15/mozilla-proposed-css-written-order.html</link>
		<comments>http://liuyuntian.com/2005/07/15/mozilla-proposed-css-written-order.html#comments</comments>
		<pubDate>Fri, 15 Jul 2005 09:30:59 +0000</pubDate>
		<dc:creator>for3w</dc:creator>
				<category><![CDATA[转载备份]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[书写顺序]]></category>

		<guid isPermaLink="false">http://liuyuntian.com/2005/07/15/mozilla-proposed-css-written-order.html</guid>
		<description><![CDATA[/* mozilla.org Base Styles
* maintained by fantasai
* (classes defined in the Markup Guide - http://mozilla.org/contribute/writing/markup)
*/
/* Suggested order:
//显示属性
* display
* list-style
* position
* float
* clear
//自身属性
* width
* height
* margin
* padding
* border
* background
//文本属性
* color
* font
* text-decoration
* text-align
* vertical-align
* white-space
* other text
* content
*
*/]]></description>
			<content:encoded><![CDATA[<p>/* mozilla.org Base Styles<br />
* maintained by fantasai<br />
* (classes defined in the Markup Guide &#8211; http://mozilla.org/contribute/writing/markup)<br />
*/<br />
/* Suggested order:<br />
//显示属性<br />
* display<br />
* list-style<br />
* position<br />
* float<br />
* clear<br />
//自身属性<br />
* width<br />
* height<br />
* margin<br />
* padding<br />
* border<br />
* background<br />
//文本属性<br />
* color<br />
* font<br />
* text-decoration<br />
* text-align<br />
* vertical-align<br />
* white-space<br />
* other text<br />
* content<br />
*<br />
*/<span id="more-59"></span></p>
<hr /><h2>相关文章</h2><ul><li><a href="http://liuyuntian.com/2005/11/02/can-be-downloaded-firefox-15rc1.html" rel="bookmark" title="Permanent Link: FireFox 1.5RC1可以下载了">FireFox 1.5RC1可以下载了</a></li><li><a href="http://liuyuntian.com/2006/05/28/ie7-will-be-two-different-versions-of-a.html" rel="bookmark" title="Permanent Link: IE7将会成两个不同的版本">IE7将会成两个不同的版本</a></li><li><a href="http://liuyuntian.com/2007/03/13/2006-web-development-top10.html" rel="bookmark" title="Permanent Link: 2006Web开发Top10">2006Web开发Top10</a></li></ul><hr /><small>Copyright &copy;  2003-2009 Xiaoxiao's Weblog All rights reserved.<br /> </small>]]></content:encoded>
			<wfw:commentRss>http://liuyuntian.com/2005/07/15/mozilla-proposed-css-written-order.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>John.Wiley.and.Sons.CSS.Hacks.and.Filters</title>
		<link>http://liuyuntian.com/2005/07/04/johnwileyandsonscsshacksandfilters.html</link>
		<comments>http://liuyuntian.com/2005/07/04/johnwileyandsonscsshacksandfilters.html#comments</comments>
		<pubDate>Mon, 04 Jul 2005 08:47:16 +0000</pubDate>
		<dc:creator>for3w</dc:creator>
				<category><![CDATA[转载备份]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://liuyuntian.com/2005/07/04/johnwileyandsonscsshacksandfilters.html</guid>
		<description><![CDATA[[img]http://images.amazon.com/images/P/0764579851.01._AA240_SCLZZZZZZZ_.jpg[/img]

列一下目录，粗略看了一下，还是有参考价值

Chapter 1:Why Hack CSS?
Chapter 2:Filtering CSS for Older Browsers
Chapter 3:Hiding CSS from Newer Browsers
Chapter 4:Applying Conditional Comments
Chapter 5:Scripting JavaScript and Document Object Model Hacks
Chapter 6:Coding Server-Side Solutions
Chapter 7:Enhancing Graphics and Media with CSS]]></description>
			<content:encoded><![CDATA[<p><img src="http://images.amazon.com/images/P/0764579851.01._AA240_SCLZZZZZZZ_.jpg" /></p>
<p>列一下目录，粗略看了一下，还是有参考价值</p>
<p>Chapter 1:Why Hack CSS?<br />
Chapter 2:Filtering CSS for Older Browsers<br />
Chapter 3:Hiding CSS from Newer Browsers<br />
Chapter 4:Applying Conditional Comments<br />
Chapter 5:Scripting JavaScript and Document Object Model Hacks<br />
Chapter 6:Coding Server-Side Solutions<br />
Chapter 7:Enhancing Graphics and Media with CSS<br />
<span id="more-40"></span>Chapter 8:Maintaining Accessibility with CSS<br />
Chapter 9:Integrated CSS Hack Layouts<br />
Chapter 10:Building Navigation Systems<br />
Chapter 11:Troubleshooting CSS<br />
Chapter 12:Implementing CSS Hacks in Dreamweaver<br />
Chapter 13:Creating CSS-Savvy Dreamweaver Templates</p>
<p>http://www.amazon.com/exec/obidos/tg/detail/-/0764579851/</p>
<p>Book Description</p>
<p>Cascading Style Sheets (CSS) is a method of describing how a Web page should look in a Web browser, but a growing number of browsers do not support CSS in the same way, forcing developers to constantly play catch-up to keep their sites consistent<br />
Bestselling author Joe Lowery eases the pain for those Web developers who aren&#8217;t feeling the CSS love-he guides readers through real-world workarounds that will help a CSS-based site look and work the way it was meant to<br />
Readers will grit their teeth, clench their fists, and roll their eyes for the last time once they learn how to craft fluid multi-column layouts, build interactive navigation, fix the Box Model, implement CSS hacks in Dreamweaver, and more cool tricks</p>
<hr /><small>Copyright &copy;  2003-2009 Xiaoxiao's Weblog All rights reserved.<br /> </small>]]></content:encoded>
			<wfw:commentRss>http://liuyuntian.com/2005/07/04/johnwileyandsonscsshacksandfilters.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>实时切换CSS样式</title>
		<link>http://liuyuntian.com/2005/07/01/%e5%ae%9e%e6%97%b6%e5%88%87%e6%8d%a2css%e6%a0%b7%e5%bc%8f.html</link>
		<comments>http://liuyuntian.com/2005/07/01/%e5%ae%9e%e6%97%b6%e5%88%87%e6%8d%a2css%e6%a0%b7%e5%bc%8f.html#comments</comments>
		<pubDate>Fri, 01 Jul 2005 13:20:14 +0000</pubDate>
		<dc:creator>for3w</dc:creator>
				<category><![CDATA[转载备份]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://liuyuntian.com/2005/07/01/%e5%ae%9e%e6%97%b6%e5%88%87%e6%8d%a2css%e6%a0%b7%e5%bc%8f.html</guid>
		<description><![CDATA[用W3C标准建造的网站，从理论上来说可以做到完全的表现与结构相分离。打个比方，就是可以在不动骨架（结构，XHMTL）和肌肉（行为，Javascript）的前提下，彻彻底底地换一身皮（表现，CSS）。

　　当然，换皮之前你需要先按W3C标准建好你的网站，并且为它准备两套表现不一样的CSS。“换皮”实质上就是“换CSS”，我们要做的，只是用某种方法让浏览器载入另一套CSS，重新渲染页面。方法有很多种，我就介绍最常见的三种。

方法一：什么也不干
　　啊？什么也不干？嗯，这个……准确地说是：就干那么一丁点儿 （你还真以为有这么好的事儿呀……）。

　　假设我们有两套CSS，分别封闭在两个不同的文件中：a.css和b.css。然后在<head>和</head>之间加入如下两行XHTML代码：

<link rel="stylesheet" type="text/css"
 title="主题A" href="a.css" />]]></description>
			<content:encoded><![CDATA[<p>用W3C标准建造的网站，从理论上来说可以做到完全的表现与结构相分离。打个比方，就是可以在不动骨架（结构，XHMTL）和肌肉（行为，Javascript）的前提下，彻彻底底地换一身皮（表现，CSS）。</p>
<p>　　当然，换皮之前你需要先按W3C标准建好你的网站，并且为它准备两套表现不一样的CSS。“换皮”实质上就是“换CSS”，我们要做的，只是用某种方法让浏览器载入另一套CSS，重新渲染页面。方法有很多种，我就介绍最常见的三种。</p>
<p>方法一：什么也不干<br />
　　啊？什么也不干？嗯，这个……准确地说是：就干那么一丁点儿 （你还真以为有这么好的事儿呀……）。</p>
<p>　　假设我们有两套CSS，分别封闭在两个不同的文件中：a.css和b.css。然后在<head>和</head>之间加入如下两行XHTML代码：</p>
<link rel="stylesheet" type="text/css"<br />
 title="主题A" href="a.css" /><br />
<span id="more-37"></span></p>
<link rel="alternate stylesheet" type="text/css"<br />
 title="主题B" href="b.css" />　　然后用你的Firefox打开这个页面，在菜单栏中选择：查看 -> 页面风格，应该可以看到如下的“风景”：<br />
<img src="uploads/200507/01_131950_firefox.gif" /><br />
　就这么简单，现在你就可以用Firefox来“换皮”了。IE？IE没这个功能……MS就是这么拽，W3C“明文推荐”：要求浏览器提供给用户自己选择样式表的权力，可它就不这么干。幸运的是这件事也不是太难杂，咱就代劳一下吧。</p>
<p>方法二：Javascript<br />
　　在方法一的基础上，可以用Javascript的DOM方法访问link对象，再将不需要的CSS设为“禁用（disabled）”，剩下的CSS就会被浏览器用来渲染页面。脚本如下，请注意其中的注释：</p>
<p><script type="text/javascript">
function setStyle(title) {</p>
<p>  //预定义变量
  var i, links;</p>
<p>  //用DOM方法获得所有的link元素
  links	= document.getElementsByTagName("link");</p>
<p>  for(i=0; links[i]; i++) {</p>
<p>    //判断此link元素的rel属性中是否有style关键字
    //即此link元素是否为样式表link
    //同时判断此link元素是否含有title属性
    if(links[i].getAttribute("rel").indexOf("style") != -1
	 &#038;&#038; links[i].getAttribute("title")) {</p>
<p>      //先不管三七二十一把它设为disabled
      links[i].disabled = true;</p>
<p>      //再判断它的title中是否有我们指定的关键字
      if(links[i].getAttribute("title").indexOf(title) != -1)</p>
<p>        //如果有则将其激活
        links[i].disabled = false;
    }
  }
}
</script>　　然后在合适的地方调用这个函数，以本页为例，添加如下两个按钮：</p>
<input type="button" value="清光" onclick="setStyle('清光');" />
<input type="button" value="冥焰" onclick="setStyle('冥焰');" />　　试试效果：</p>
<p>　　使用Javascript的好处是方便、快捷、简单，缺点也是很明显的：很难做到全站的CSS切换，只能局限在当前页上。为了记忆用户的选择，可行的方案就是采用cookie。可是就算使用cookie，也需要在何时载入CSS，用户没有Javasciprt支持怎么办等问题上多做好些文章。所以不如用下面的方法——</p>
<p>方法三：服务器端脚本<br />
　　毫无疑问，最好的CSS切换器应该使用服务器端脚本（PHP、ASP、JSP等）来开发。这样做的好处是很明显的：直接、高效、兼容性好、可以记忆用户选择、甚至可以组合不同的CSS实现相当复杂的“皮肤”切换。</p>
<p>　　我这里就用PHP为例，用其他的语言也都大同小异，对一般的开发人员来说不会有任何困难。</p>
<p>　　基本思路是这样：用户选择一种“皮肤”，把用户的选择记入cookie（记入数据库也一样，不过这样系统开销会大一些），用户访问网站上的任何一个页面时，再从cookie（或数据库）中读出之前用户的选择，载入相应的CSS文件（这里还是以方法一中讲到的a.css和b.css为例）。</p>
<p>　　创建一个名为switcher.php的文件，内容如下：</p>
<p><?php$style = $_GET["style"];setcookie('style',$style,time()+31536000,'/','.site.com','0');header("location:".$_SERVER['HTTP_REFERER']);?>　　这段脚本先读取query数据，然后把参数style的值记入cookie，最后返回上一页。接下来我们就可以创建两个用于切换样式的链接了，并且放在合适的页面上，比如首页或用户管理后台（注意把其中的site.com换成你的域名）：</p>
<p><a href="switcher.php?style=a">主题A</a><br />
<a href="switcher.php?style=b">主题B</a>　　点击任意一个链接，相应的就会把“a”或“b”记入cookie，然后就需要一段脚本来读取这个cookie值并且输出XHTML来引入对应的CSS：</p>
<p><?php	if(isset($_COOKIE["style"])){		$style	= $_COOKIE["style"];	}else{		$style	= "a";//默认采用主题A	}?></p>
<link rel="stylesheet" type="text/css"<br />
 title="当前选择的主题" href="<?php echo $style ?>.css&#8221; />　　每一个需要切换样式的页面都要加上这段代码，所以直接把它加入网站的头文件中就行了。当然你可以根据自己的需要修改这个脚本，但万变不离其宗，总的思路应该是不变的。本站就是用这种方式做的CSS切换器，你可以在首页右侧的搜索框下面找到，have a try^_^。</p>
<hr /><small>Copyright &copy;  2003-2009 Xiaoxiao's Weblog All rights reserved.<br /> </small>]]></content:encoded>
			<wfw:commentRss>http://liuyuntian.com/2005/07/01/%e5%ae%9e%e6%97%b6%e5%88%87%e6%8d%a2css%e6%a0%b7%e5%bc%8f.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

