<?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>PageTalks &#187; design</title>
	<atom:link href="http://pagetalks.com/tag/design/feed" rel="self" type="application/rss+xml" />
	<link>http://pagetalks.com</link>
	<description>Pure Web Development &#38; Design Ideas</description>
	<lastBuildDate>Thu, 19 Jan 2012 12:06:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Most Wonderful Books for Web Developers and Designers</title>
		<link>http://pagetalks.com/2009/04/28/most-wonderful-books-for-web-developers-and-designers.html</link>
		<comments>http://pagetalks.com/2009/04/28/most-wonderful-books-for-web-developers-and-designers.html#comments</comments>
		<pubDate>Mon, 27 Apr 2009 17:17:16 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[Site Development]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=210</guid>
		<description><![CDATA[There are so many guides and tutorials in the bookstore. However most of them, saddly, really suck! Most authors can&#8217;t avoid the temptaion to copy words from other books. What we should do to find a really useful book is to find the root of all boo... ]]></description>
			<content:encoded><![CDATA[<p>There are so many guides and tutorials in the bookstore. However most of them, saddly, really suck!<br />
Most authors can&#8217;t avoid the temptaion to copy words from other books. What we should do to find a really useful book is to find the root of all books.<br />
Here is a simple list of the books that I&#8217;ve read ,at least partly, or I&#8217;ve bought and intended to read in the near future.</p>
<div id="books-images">PostcardViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
<p><script type="text/javascript">
		var fo = new SWFObject("/show/postcard.swf", "viewer", "100%", "900", "8", "#ffffff");
		fo.addVariable("xmlURL", "/wp-content/uploads/2009/04/books-images.xml");					
		fo.write("books-images");	
</script>	</p>
<p><span id="more-210"></span></p>
<h3>Javascript and JQuery</h3>
<h4>JavaScript: The Good Parts</h4>
<p>It serves as a breif guide to javascript and tells us a lot of does and donts in javascript. I think it&#8217;s right the book a beginner should own.<br />
See also: http://oreilly.com/catalog/9780596517748/</p>
<h4>JavaScript: The Definitive Guide</h4>
<p>This is the bible of javascript, but definitely not a good choice for novices.<br />
See also: http://oreilly.com/catalog/9780596000486/</p>
<h4>Learning JQuery</h4>
<p>First book to talk about jQuery. It contains lots of soulutions to some typical applications with jQuery. Good for starts in jQuery.<br />
See also: http://www.packtpub.com/learning-jquery-1.3/book/mid/1802090m1d2r</p>
<h4>jQuery in Action</h4>
<p>A little deeper than the earlier. Indeed I only bought this one, and lend a copy of Learning jQuery form libarary.<br />
See also: http://www.manning.com/affiliate/idevaffiliate.php?id=648_93</p>
<h3>XHTML and CSS</h3>
<h4>Words about XHTML and CSS</h4>
<p>I don&#8217;t think we need a book to learn XHTML and CSS. First it&#8217;s very simple; Second there are comprehensive tutorials online everywhere. So I didn&#8217;t collect any books on XHTML and CSS for beginners. Following websites will be helpful: </p>
<ul>
<li>http://www.w3schools.com/</li>
<li>http://www.w3.org/</li>
</ul>
<h4>CSS Mastery: Advanced Web Standards Solutions</h4>
<p>Don&#8217;t be intimidated by the &#8216;Advanced&#8217;. It&#8217;s not only a quite praticle guide to solve lots problem, but also a starter for novice to learn css systemetically.</p>
<h4>HTML &#038; XHTML: The Definitive Guide</h4>
<p>Bibble in xhtml. Again this Definiteive Guide is not a good start for beginers.<br />
See also: http://oreilly.com/catalog/9780596527327/</p>
<h4>CSS: The Definitive Guide</h4>
<p>Bibble in css. Needn&#8217;t to tell you this is not for beginers.<br />
See also: http://oreilly.com/catalog/9780596527334/</p>
<h3>Design and User Interface</h3>
<h4>CSS Zen Garden</h4>
<p>I believe most people that can find this site own this book.<br />
See also: http://www.amazon.com/Zen-CSS-Design-Visual-Enlightenment/dp/0321303474</p>
<h4>Transcending CSS</h4>
<p>Althoght CSS is a key word in the title, this book doesn&#8217;t talk too much on CSS and turn its attention to the layout and coloring. Good for starters.<br />
See also: http://transcendingcss.com/</p>
<h4>The Principles of Beautiful Web Design</h4>
<p>A brief guide to design a beautiful web site. Good for starters.<br />
See also: http://www.sitepoint.com/books/design1/</p>
<h4>Designing Web Interfaces</h4>
<p>A really new book I just found. Haven&#8217;t read yet. Judging from the menu, it&#8217;s a good guide to master web interfaces desgin. Good for intermedia readers.<br />
See also: http://oreilly.com/catalog/9780596516253/</p>
<h4>Designing Interfaces</h4>
<p>I own this book indeed. Since we have Designing Web Interfaces which mainly focuses on web design, this book seems to be inapproximate for learning web interfaces. However most design patterns in interfaces are common, so we can still gain a lot in this book.<br />
See also: http://oreilly.com/catalog/9780596008031/</p>
<h3>JAVA</h3>
<p><b>I&#8217;d like to focus on Java Language as a solution for server-end application. So these books are mainly for Java.</b></p>
<h4>Thinking in Java</h4>
<p>I wish I had this book when I started programming. Still I ordered this book online. It&#8217;s full of examples on J2SE\Design Pattern\Common Issues and so on. Definitive introduction to java.<br />
See also: http://mindview.net/Books/TIJ4</p>
<h4>Core Servlets and JavaServer Pages</h4>
<p>Actually this is the book used in my university. It&#8217;s a good book to introduce many development artitectures from small-scale personal sites to large-scale production applications.<br />
See also: http://www.amazon.com/Core-Servlets-JavaServer-Pages-JSP/dp/0130893404</p>
<h4>Data Structures and Problem Solving Using Java</h4>
<p>Data structures are important for programing. This book provide a comprehensive introduction of data structure in JAVA5.<br />
See also: http://www.amazon.com/Data-Structures-Problem-Solving-Using/dp/0321322134</p>
<h4>Practical Apache Struts 2 Web 2.0 Projects</h4>
<p>Struts is nice and widely support by most service provider. I just bought this book, and manage to read it in my vocation.<br />
See also: http://www.apress.com/book/view/9781590599037</p>
<h4>Beginning Hibernate: From Novice to Professional</h4>
<p>Hibernate is a light framework to provide solutions for java object persistence. Although it&#8217;s pervelent in large-scale applications, it&#8217;s quite cool when you cope with your own medium-scale sites. This book is a comprehensive introduction to Hibernate. Easy to learn. Good for beginners.</p>
<h3>Database</h3>
<h4>Database Systems: Design, Implementation and Management</h4>
<p>Concepts about database and SQL. Very important for developing real application with database.<br />
See also: http://www.amazon.com/Database-Systems-Design-Implementation-Management/dp/061921323X</p>
<h4>The Definitive Guide to MySQL</h4>
<p>MySQL is the lovable database and easy to learn. This book works as a comprehensive guide to this free and powerful database system. Good for both beginners and professionals.<br />
See also: http://www.apress.com/book/view/9781590591444</p>
<h4>SQL Hacks</h4>
<p>Smart hacks for many applications. You will find insprired by these skills! I like this book very much.</p>
<p>http://oreilly.com/catalog/9780596527990/</p>
<h3>Web Sites Related</h3>
<h4>High Performance Web Sites</h4>
<p>A guide for front-end engineers. Very pratical!<br />
See also: http://oreilly.com/catalog/9780596529307/</p>
<p>To my amusement, I dream of becoming a ActionScript or Flex Develper, but I haven&#8217;t finished reading a single book on ActionScript yet! </p>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2009/04/28/most-wonderful-books-for-web-developers-and-designers.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thickbox and its customization</title>
		<link>http://pagetalks.com/2008/08/29/thickbox-and-its-customization.html</link>
		<comments>http://pagetalks.com/2008/08/29/thickbox-and-its-customization.html#comments</comments>
		<pubDate>Fri, 29 Aug 2008 08:56:24 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[thickbox]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=52</guid>
		<description><![CDATA[Thickbox是基于jQuery的一套成熟的交互UI，能让设计师方便的实现Lightbox特效，以及更多你想不到的功能。 既然jQuery是一个轻量级的脚本库，作为设计师出生的使用者会感到它的使用是相对容易的... ]]></description>
			<content:encoded><![CDATA[<p><a href="http://jquery.com/demo/thickbox/">Thickbox</a>是基于<a href="http://jquery.com/">jQuery</a>的一套成熟的交互UI，能让设计师方便的实现Lightbox特效，以及更多你想不到的功能。<br />
既然jQuery是一个轻量级的脚本库，作为设计师出生的使用者会感到它的使用是相对容易的。运用Thickbox实现Lightbox效果是目前流行的几种实现方法中最灵活、最轻便的一种。除了轻便之外，它所支持的浏览器也相当的广泛：Windows IE 6.0, Windows IE 7+, Windows FF 2.0.0.6+, Windows Opera 9.0+, Macintosh Safari 2.0.4+, Macintosh FF 2.0.0.6+, Macintosh Opera 9.10+。</p>
<h3>安装Thickbox</h3>
<p>登陆官方网站获得最新版本的<a href="http://jquery.com/">jQuery</a>和<a href="http://jquery.com/demo/thickbox/">Thickbox</a>的文件，<br />
Thickbox需要jQuery的脚本库，那么首先应该载入jQuery，再载入Thickbox了。<br />
在META标签内加入如下语句：</p>
<pre>&lt;script type="text/javascript" src="path-to-file/jquery.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="path-to-file/thickbox.js"&gt;&lt;/script&gt;</pre>
<p><span id="more-52"></span><br />
这里需要注意的是jQuery的脚本文件必须先于thickbox的脚本文件，同时注意修改文件的路径。<br />
紧接着需要加入Thickbox的CSS文件：</p>
<pre>&lt;link rel="stylesheet" href="path-to-file/thickbox.css" type="text/css" media="screen" /&gt;</pre>
<p>当然载入CSS的方法多种多样，这只是一个示范。</p>
<h3>使用Thickbox</h3>
<p>关于Thickbox的具体使用，可以参考官方网站的示例：<a href="http://jquery.com/demo/thickbox/#examples">http://jquery.com/demo/thickbox/#examples</a>也可以参考legal翻译的文档。由于原来的链接无法访问，这里只给出原文的存档：<br />
<a href="http://pagetalks.com/talks/wp-content/uploads/2008/03/thickbox/thickbox.html">http://pagetalks.com/talks/wp-content/uploads/2008/03/thickbox/thickbox.html</a></p>
<h3>定制Thickbox</h3>
<p>对于大多数实际使用中，原来的CSS文档设置的样式都无法让人满意（看看连Microsoft的官方网站上的Lightbox都那么炫）。在这里给出Thickbox中CSS档的分析：</p>
<ul>
<li>#TB_overlay：覆盖原文当背景层ID</li>
<li> .TB_overlayBG：背景层的背景元素，也就是背景的实体Class</li>
<li> #TB_window：Thickbox内容窗口的主体ID</li>
<li>#TB_caption：Thickbox内容窗口左下角的标题和导航所在DIV的ID</li>
<li>#TB_closeWindow：右上角“Close”链接所在的元素（不知道是DIV还是Span）的ID</li>
<li>#TB_closeAjaxWindow：Ajax载入窗口中的“Close”链接所在元素（不知道是DIV还是Span）的ID</li>
<li> #TB_ajaxWindowTitle：左上角标题所在元素的ID</li>
<li> #TB_title：Thickbox内容窗口顶端元素（包含标题和“Close”链接的容器）的ID</li>
<li>#TB_ajaxContent：内容容器ID</li>
<li> #TB_load：载入进度条的ID</li>
<li>#TB_iframeContent：iFrame元素ID</li>
</ul>
<p>最近在用Thickbox做ELFVision首页上的作品陈列室“Works”，可以到<a href="http://www.elfvision.com">ELFVision</a>的首页，点击Works链接看看美化过的Thickbox。不过这个是半成品，还有一些想法要通过jQuery的编程实现，慢慢来吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2008/08/29/thickbox-and-its-customization.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Texture and Material</title>
		<link>http://pagetalks.com/2008/08/29/texture-and-material.html</link>
		<comments>http://pagetalks.com/2008/08/29/texture-and-material.html#comments</comments>
		<pubDate>Fri, 29 Aug 2008 08:07:31 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[PageShow]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[material]]></category>
		<category><![CDATA[texture]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=36</guid>
		<description><![CDATA[质地和材料看似只有实物设计的时候才会碰到？其实计算机里到处都有材质的问题，PageShow里面有相当多的拥有与众不同的背景的网站；材质的运用正是他们脱颖而出的原因。材质的运用能赋予... ]]></description>
			<content:encoded><![CDATA[<p>质地和材料看似只有实物设计的时候才会碰到？其实计算机里到处都有材质的问题，<a href="http://pagetalks.com/pageshow/">PageShow</a>里面有相当多的拥有与众不同的背景的网站；材质的运用正是他们脱颖而出的原因。材质的运用能赋予作品一种风格，准确地说，它能更准确地传达真实世界的感受，同时会带来料想不到的效果。<br />
之前看过优秀的例子很多，不过目前手头上就两个：<a href="http://www.nolgraphic.com/blog/">NOL BLOG</a>和<a href="http://www.sroown.com/">Sroown</a>。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070817_nol01.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070817_nol01.jpg" alt="" title="Nol Blog Title" width="600" height="154" class="aligncenter size-full" /></a></p>
<p>Nol BLOG的顶部图片背景为陈旧的前面，注意看，还有一支苍蝇在飞来飞去哦!</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070813_sroown01.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070813_sroown01.jpg" alt="" title="Sroown Title" width="600" height="112" class="aligncenter size-full" /></a></p>
<p>Sroown是一家设计公司，其主页的背景模仿了木质效果，配以绿色植物的环绕，整个页面生机盎然。</p>
<p><a href="http://pagetalks.com/pageshow/" title="进入PageShow">已收录到PageShow，快去看看！</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2008/08/29/texture-and-material.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pictures Are Not Simple</title>
		<link>http://pagetalks.com/2008/08/29/pictures-are-not-simple.html</link>
		<comments>http://pagetalks.com/2008/08/29/pictures-are-not-simple.html#comments</comments>
		<pubDate>Fri, 29 Aug 2008 08:01:40 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[Technique]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[gif]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[jpg]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[svg]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=32</guid>
		<description><![CDATA[前几天看到Soulman在他的站上直接用PNG格式做的一幅大图作为Bannar，效果是可想而知的，我等了近半分钟，图片还为显示。网页窗口的很大一部分持续呈现空白，这不是设计师想要得到的。于是... ]]></description>
			<content:encoded><![CDATA[<p>前几天看到Soulman在他的站上直接用PNG格式做的一幅大图作为Bannar，效果是可想而知的，我等了近半分钟，图片还为显示。网页窗口的很大一部分持续呈现空白，这不是设计师想要得到的。于是乎，有人开始思考，到底该如何将设计出来的作品有效的发布在网络上呢？在这里，图片文件格式的比较就很有必要了。<br />
如今网络上流传着多种图片格式，例如BMP、JPG（JPGE）、PNG、GIF等。其中JPG和GIF最为广泛，PNG由于最近才得到IE7的正式支持，许多设计师对于这种格式在IE7之前都是比较谨慎的。<br />
<span id="more-32"></span></p>
<h3>几种格式的理论分析</h3>
<dl>
<dt>JPG格式</dt>
<dd>JPEG 图片以 24 位颜色存储单个光栅图像。JPEG 是与平台无关的格式，支持最高级别的压缩，不过，这种压缩是有损耗的。渐近式 JPEG 文件支持交错。<br />
可以提高或降低 JPEG 文件压缩的级别。但是，文件大小是以图像质量为代价的。压缩比率可以高达 100:1。（JPEG 格式可在 10:1 到 20:1 的比率下轻松地压缩文件，而图片质量不会下降。）JPEG 压缩可以很好地处理写实摄影作品。但是，对于颜色较少、对比级别强烈、实心边框或纯色区域大的较简单的作品，JPEG 压缩无法提供理想的结果。有时，压缩比率会低到 5:1，严重损失了图片完整性。这一损失产生的原因是，JPEG 压缩方案可以很好地压缩类似的色调，但是 JPEG 压缩方案不能很好地处理亮度的强烈差异或处理纯色区域。<br />
JPG格式的优点可想而知，它能够在不大量损失画质的情况下实现不同比率的压缩，再加上24位全彩的支持，使他成为目前照片储存的标准格式（在Very High模式下，其质量已经和RAW不分上下，但是体积上JPG有绝对优势）。对于网页设计师来说，当JPG文件以Progressive模式压缩时支持交错，这个特性使它能同GIF一样，有从模糊到清晰的显示过程。<br />
JPG格式的致命伤也正是由于它的有损压缩，它的压缩损失是不可恢复的，而且当一幅JPG文件多次被修改，并再次保存时，它也就经历了多次质量损失，这个过程是积累性的。</dd>
<dt>GIF格式</dt>
<dd>GIF(Graphics Interchange Format)的原义是“图像互换格式”，是CompuServe公司在 1987年开发的图像文件格式。GIF文件的数据，是一种基于LZW算法的连续色调的无损压缩格式。其压缩率一般在50％左右，它不属于任何应用程序。目前几乎所有相关软件都支持它，公共领域有大量的软件在使用GIF图像文件。GIF图像文件的数据是经过压缩的，而且是采用了可变长度等压缩算法。所以 GIF的图像深度从lbit到8bit，也即GIF最多支持256种色彩的图像。GIF格式的另一个特点是其在一个GIF文件中可以存多幅彩色图像，如果把存于一个文件中的多幅图像数据逐幅读出并显示到屏幕上，就可构成一种最简单的动画。<br />
众所周知，GIF主要分为两个版本，即GIF 89a和GIF 87a；前者支持多幅图片组成动态画面，这就是当今网络上流行的动画图片格式。尽管这种格式在网络上流传的很泛滥，它实际上是一种比较过时的格式，因为它仅支持256色，并通过抖动来“模拟”出更多色彩。网页设计师在早期使用GIF的理由大多是为了它的透明背景功能。
<dd>
<dt>PNG格式</dt>
<dd>PNG是20世纪90年代中期开始开发的图像文件存储格式，其目的是企图替代GIF和TIFF文件格式，同时增加一些GIF文件格式所不具备的特性。流式网络图形格式(Portable Network Graphic Format，PNG)名称来源于非官方的“PNG&#8217;s Not GIF”，是一种位图文件(bitmap file)存储格式，读成“ping”。PNG用来存储灰度图像时，灰度图像的深度可多到16位，存储彩色图像时，彩色图像的深度可多到48位，并且还可存储多到16位的α通道数据。PNG使用从LZ77派生的无损数据压缩算法。<br />
PNG格式的诞生和JPG与GIF密不可分，它就是为了弥补两个前辈的不足而诞生的。它同JPG一样支持压缩比率、Progressive模式压缩，与GIF一样有256色模式。还有诸多算法上的特性在此就不必指出，作为网页设计师，必须记得的是，PNG同时支持真彩色和16位Alpha通道。</dt>
</dl>
<h3>三种格式在照片环境下的对决</h3>
<p>选择的图片原件是未经处理的JPG文件，大小在经过25%缩放后为1.7MB。以下我选择了三种格式非常常用的设定来进行横向比较，下面那副图片以PNG格式保存，可以忽略质量的再次损失。</p>
<p>GIF设定：128位抖动，这是一个GIF中非常高的设定。<br />
JPG设定：质量为High（60），这个设定不高不低，通常我压缩图片可能会用95的质量。<br />
PNG设定：24位真彩，PNG的标准设定。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/image_4tpye.png"><img src="http://pagetalks.com/wp-content/uploads/2008/08/image_4tpye.png" alt="" title="Images Types Comparision" width="594" height="561" class="aligncenter size-full" /></a></p>
<p>从上图可以看出，GIF格式图片和原图相比已经出现了颗粒感，影响了表现；JPG格式相当接近原画，虽然细节表现上有一定损失；PNG格式文件则通过肉眼无法直接辨别两者的区别。<br />
质量上来看，PNG是毫悬念的冠军，但是文件大小上PNG竟然有964K，相比之下JPG格式的109K、GIF格式的211K是毫无优势可言的。大家如果注意GIF格式的大小和效果，你会发现GIF根本不适合作为照片文件的储存格式。也就是说，如果你的网页上面要讲色彩细节丰富的图片作为背景，那么GIF绝对不可以选，PNG格式则太臃肿，而JPG可以提供非常廉价的折中选择。</p>
<h3>简单文件的比较</h3>
<p>图片格式和相应参数和上次一样，这次我们来看看这三种格式对简单图案的细节的表现。大家一定会说，”这还用比？肯定是PNG&gt;JPG&gt;GIF“的结果么！”好吧，我们边走边瞧。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/image_4tpye_2.png"><img src="http://pagetalks.com/wp-content/uploads/2008/08/image_4tpye_2.png" alt="" title="Images Types Comparision 2" width="600" height="568" class="aligncenter size-full" /></a></p>
<p>你必须得相信你的眼睛，在这种环境下，GIF、PNG与原版设计图片毫无区别，但JPG竟然出现了澡点！如果你仔细阅读了前文对JPG格式的描述，那你应该可以预测到这个结果。<br />
再来看看文件大小，原文件PSD档680K，GIF格式文件15K、JPG格式文件38K，PNG格式文件44K。综合来看，GIF完胜PNG和JPG！希望你的下巴没掉到地上&#8230;&#8230;</p>
<h3>谈谈文件的选择</h3>
<p>文章到此处，我们已经可以得出这样的结论：1、需要表现丰富色彩的细节，例如照片、CG之类可以选择JPG；2、当想插入简单图案，色调单一的图像（图案）可以选择GIF。<br />
那么我们完全把PNG忽视了？<br />
别忘了我们之前说过PNG文件的两大特点：无损压缩真彩色和16位Alpha通道！光一个“无损”压缩就可以让它成为众多图片处理软件的最佳保存格式，而它的16位Alpha通道则使网页的表达千变万化。你可能又要问，GIF也支持透明啊，我为什么要用PNG？<br />
GIF的确支持透明，但有本事让他搞个半透明？看看下面这副图片。原图是在Photoshop中以较低的硬度用笔刷点下的一个点，相当于一个透明度延半径方向线性降低的一个圆。这其中当然就包括程度不同的透明度。结果很明显，GIF文件当插入白色背景的背景图片中时，无法体现出透明的层次，反而会用灰色来代替有透明度的像素；但PNG文件则不同，它体现出了透明的层次，并且和背景完美融合。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/image_type_png_gif.png"><img src="http://pagetalks.com/wp-content/uploads/2008/08/image_type_png_gif.png" alt="" title="GIF vs PNG" width="120" height="100" class="aligncenter size-full" /></a></p>
<p>PNG的这种特性使它能够处理网页中的阴影、插入不同层次的背景图片等应用。再另一方面，目前在设计图标时，也多用PNG文件储存，为了这些图标（如各种表情图标）能够完美和背景融合，也直接插入PNG格式的文件(但如果你的浏览着大多数都在使用不支持PNG的Alpha通道的IE6，那么就只能用GIF将就，或者使用相应的Hack）。这便是发PNG在网页设计领域无可替代的应用。可以说，把它作为插入照片的首选格式并不是明智的选择，毕竟人们从有损压缩的JPG格式那里可以得到更快的速度。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/saveforweb.gif"><img src="http://pagetalks.com/wp-content/uploads/2008/08/saveforweb.gif" alt="" title="Save For Web Dialog 1" width="300" height="306" class="aligncenter size-full" /></a></p>
<p>剩下的最后一个问题是这图片格式质量参数如何选，这个只能根据原文件的质量通过不同质量参数表较而成。现在Photoshop之类的软件都可以提供“为网页优化”的选择，可以方便的进行设置。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/saveforweb2.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/saveforweb2.jpg" alt="" title="Save For Web Dialog 2" width="600" height="306" class="aligncenter size-full" /></a></p>
<h3>未来图片格式的进化</h3>
<p>PNG格式的进一步优化无疑是未来的一大亮点。其他方面，更多全新的图形格式也在不断涌现，其中SVG是最引人注目的一个。</p>
<blockquote><p>SVG是一种矢量图形格式，SVG提供了GIF和JPEG所不能提供功能优势：</p>
<ol>
<li>放大　用户可以任意放大图形显示，但不会牺牲锐利度、清晰度、细节等。</li>
<li>文字状态依然保留　文字在SVG图像中保留可编辑和可搜寻的状态。没有字体的限制，用户将会看到和他们制作时完全相同的画面。</li>
<li>小文件　平均来讲，SVG文件比那些JPEG和GIF格式的文件要小很多，因而下载也很快。</li>
<li>显示独立性　SVG图像在屏幕上总是边缘清晰，并且可以使用你打印机的分辨率进行打印。不论是300 dpi，600 dpi还是更高，你都不会体验到难看的锯齿的点阵效果。</li>
<li>超级颜色控制　SVG提供一个16百万颜色的调板，支持ICC颜色描述<br />
文件，RGB，渐变和蒙版。</li>
<li>交互性和智能化　因为SVG是基于XML的，它提供无可匹敌的动态交互性。SVG图像可对用户的动作通过高光显示、工具技巧、特殊效果、声音和动画进行反应和显示。</li>
</ol>
</blockquote>
<p>虽然SVG的草案已经修订出来了，但是相应的软件支持还相当少，目前主流浏览器都不支持SVG。总之SVG能够带来更多的应用，可目前它离普及还有很远的一段路要走。</p>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2008/08/29/pictures-are-not-simple.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Colorful and Beautiful</title>
		<link>http://pagetalks.com/2008/08/29/colorful-and-beautiful.html</link>
		<comments>http://pagetalks.com/2008/08/29/colorful-and-beautiful.html#comments</comments>
		<pubDate>Fri, 29 Aug 2008 07:47:15 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[PageShow]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[green]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=28</guid>
		<description><![CDATA[如何添加绚丽的色彩而又避免页面的凌乱是摆在设计师面前的难题。有时候在引入一些素材的时候，我们不得不将里面的颜色做很多的处理，但到头来最终效果还是不尽人意。 今天为大家介绍... ]]></description>
			<content:encoded><![CDATA[<p>如何添加绚丽的色彩而又避免页面的凌乱是摆在设计师面前的难题。有时候在引入一些素材的时候，我们不得不将里面的颜色做很多的处理，但到头来最终效果还是不尽人意。<br />
今天为大家介绍的<a href="http://www.lesycr.cz/cs/">lesycr.cz</a>的确是一个生动的例子，绿色系的配色和亲近自然的设计让我们很容易想到这是一个关于植物，准确说是关于松树的网站（尽管我们读不懂语言）。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070809_lesycr02.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070809_lesycr02.jpg" alt="" title="Top Section of Lesycr" width="500" height="138" class="aligncenter size-full wp-image-29" /></a></p>
<p>顶部的导航栏连同顶部bannar一同凸起，突出了主题，也使网站在使用上更加友好。在代码方面，正确的使用ul元素也为SEO做出了不小的贡献。下部还有三个凸起图片，但明显他们没有导航栏显眼。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070809_lesycr03.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070809_lesycr03.jpg" alt="" title="070809_lesycr03" width="500" height="353" class="aligncenter size-full wp-image-30" /></a></p>
<p>回顾一下整个页面的颜色，背景是绿色的渐变和少量阴影效果，其他方面还用到了橙色、深绿、蓝色等颜色的渐变。好吧，你必须承认以上这些颜色都可以在顶部的图片中找到。设计者没有准备让颜色孤立起来！</p>
<p>整体上，如果底部的树叶能处理的更漂亮一些（起码要对得起那漂亮的顶部导航吧），页面毫无疑问会更加迷人。</p>
<p><a href="http://pagetalks.com/pageshow/" title="进入PageShow">已收录到PageShow，快去看看！</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2008/08/29/colorful-and-beautiful.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flexible and Informative</title>
		<link>http://pagetalks.com/2008/08/29/flexible-and-informative.html</link>
		<comments>http://pagetalks.com/2008/08/29/flexible-and-informative.html#comments</comments>
		<pubDate>Fri, 29 Aug 2008 07:42:16 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[PageShow]]></category>
		<category><![CDATA[black]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=24</guid>
		<description><![CDATA[三栏版式是很多BLOG和新闻站点（CNN、Engadget等）经常采用的排版。这样做的好处是很明显的，三栏的设计能容纳足够的信息，并且能让管理人员快速灵活地使用站点来发布他们的信息。 这次介... ]]></description>
			<content:encoded><![CDATA[<p>三栏版式是很多BLOG和新闻站点（CNN、Engadget等）经常采用的排版。这样做的好处是很明显的，三栏的设计能容纳足够的信息，并且能让管理人员快速灵活地使用站点来发布他们的信息。<br />
这次介绍的这个站点可以算是三栏设计的典范了。整个设计并没有过多的修饰，但从整体上来说它传达了科技感、专业感以及企业最想要的信赖感。可能美工又要抓狂了，难道想让我们下岗吗？其实这个页面的图片处理还是很讲究的；色彩方面也并非单纯的白纸黑字&#8230;&#8230;</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070809_asa02.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070809_asa02.jpg" alt="" title="Snap of ASA" width="500" height="476" class="aligncenter size-full wp-image-25" /></a></p>
<p>我们重点要欣赏的是设计上采用的三栏：主要讯息呈现在最左，互动表单放在右侧第一栏，页面链接和杂项讯息放在最右——主次分明。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070809_asa03.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070809_asa03.jpg" alt="" title="Footer of ASA" width="500" height="77" class="aligncenter size-full wp-image-26" /></a></p>
<p>做这种分割，需要你能在心中想象出标尺，每块内容的间距、大小都要一致。注意页脚遵循的宽度是根据上面的三栏分割而来。</p>
<p>PS 其实这个页面的顶部Flash也很赞&#8230;&#8230;</p>
<p><a href="http://pagetalks.com/pageshow/" title="进入PageShow">已收录到PageShow，快去看看！</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2008/08/29/flexible-and-informative.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uni and harmony</title>
		<link>http://pagetalks.com/2008/08/29/uni-and-harmony.html</link>
		<comments>http://pagetalks.com/2008/08/29/uni-and-harmony.html#comments</comments>
		<pubDate>Fri, 29 Aug 2008 07:30:20 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[PageShow]]></category>
		<category><![CDATA[black]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[harmony]]></category>
		<category><![CDATA[uni]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=13</guid>
		<description><![CDATA[今天展示的站点是来自一家视觉设计公司的thegoodness，首先吸引我注意的是他们的官方网站。与其他的工作室的首页不同，他们的页面宁静、统一、和谐，黑色系的色调让人觉得高雅、专业。从... ]]></description>
			<content:encoded><![CDATA[<p>今天展示的站点是来自一家视觉设计公司的<a href="http://www.thegoodness.com.au/services_branding.html">thegoodness</a>，首先吸引我注意的是他们的官方网站。与其他的工作室的首页不同，他们的页面宁静、统一、和谐，黑色系的色调让人觉得高雅、专业。从某种程度来讲比另外用其他色彩取胜的站点更胜一筹。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070805_good02.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070805_good02.jpg" alt="" title="Nav of Good" width="500" height="75" class="aligncenter size-full wp-image-14" /></a></p>
<p>页面上最给我印象深刻的是色彩的统一、布局的统一、视觉流的统一</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070805_good03.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070805_good03.jpg" alt="" title="Nice Layout of Good" width="500" height="248" class="aligncenter size-full wp-image-15" /></a></p>
<p>这种开PS的人就可以做出来的效果在却显得非常漂亮，这就是统一所带来的力量。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070805_good04.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070805_good04.jpg" alt="" title="PageNavi of Good" width="339" height="37" class="aligncenter size-full wp-image-16" /></a></p>
<p>作品展览页下面的页面导航，遵循了顶部导航的风格。<br />
整体来说，是一个很难得的站点，用简单的线条、形状构筑了丰富的内涵。</p>
<p><a href="http://pagetalks.com/pageshow/" title="进入PageShow">已收录到PageShow，快去看看！</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2008/08/29/uni-and-harmony.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clear One-Page Layout</title>
		<link>http://pagetalks.com/2008/08/29/clear-one-page-layout.html</link>
		<comments>http://pagetalks.com/2008/08/29/clear-one-page-layout.html#comments</comments>
		<pubDate>Fri, 29 Aug 2008 07:10:16 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[PageShow]]></category>
		<category><![CDATA[clear]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=9</guid>
		<description><![CDATA[对于一个呈现信息很少，目的很单一的站点，也许你为它构建导航栏是多余的。这不仅会浪费浏览者的时间，也会降低站点的流量效率。偶尔，你可以耍点个性——做个单页呈现的页面吧。 今... ]]></description>
			<content:encoded><![CDATA[<p>对于一个呈现信息很少，目的很单一的站点，也许你为它构建导航栏是多余的。这不仅会浪费浏览者的时间，也会降低站点的流量效率。偶尔，你可以耍点个性——做个单页呈现的页面吧。<br />
今天向大家介绍的<a href="http://www.ceruleandesigns.com">ceruleandesigns.com</a>就是很好的例子，采用了垂直布局，单页就把所有内容完整的表达出来，一气呵成，页面整体效果非常不错。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070804_richiwinslow01.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070804_richiwinslow01.jpg" alt="" title="Top Section of Richiwinslow" width="500" height="235" class="aligncenter size-full wp-image-10" /></a></p>
<p>首先进入视线的是蓝色的朦胧背景，蓝色和白色的对比是相当舒服的。在表单的处理上，订制了背景图片，为什么没有处理提交按钮让我很纳闷。尽管表单的效果看起来很Cool，但是第一次浏览的时候我却不敢把鼠标往那块点，因为看起来像Buttom而非TextArea。</p>
<p><a href="http://pagetalks.com/wp-content/uploads/2008/08/070804_richiwinslow02.jpg"><img src="http://pagetalks.com/wp-content/uploads/2008/08/070804_richiwinslow02.jpg" alt="" title="Gallery of Richiwinslow" width="500" height="187" class="aligncenter size-full wp-image-11" /></a></p>
<p>作品列表的设计也相当精致，有悬浮效果，背景图片采用了半透明效果。醒目且美观，总而言之是实用性很强。</p>
<p>也许这个作品并不能算成熟的作品，但是单页布局的设想让我们在构建内容不多的网站时有了另一个思路！</p>
<p><a href="http://pagetalks.com/pageshow/" title="进入PageShow">已收录到PageShow，快去看看！</a></p>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2008/08/29/clear-one-page-layout.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Fvck That Page</title>
		<link>http://pagetalks.com/2008/08/29/how-to-fvck-that-page.html</link>
		<comments>http://pagetalks.com/2008/08/29/how-to-fvck-that-page.html#comments</comments>
		<pubDate>Fri, 29 Aug 2008 06:46:03 +0000</pubDate>
		<dc:creator>Robin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://pagetalks.com/?p=6</guid>
		<description><![CDATA[为什么你的居中属性没有生效？为什么浮动元素不听你的话？为什么这个图片会这样显示？&#8230;&#8230; 这样或那样的问题困扰着步入网页设计的每个人，以下就以个人经验来来总结一下解决问... ]]></description>
			<content:encoded><![CDATA[<p>为什么你的居中属性没有生效？为什么浮动元素不听你的话？为什么这个图片会这样显示？&#8230;&#8230;<br />
这样或那样的问题困扰着步入网页设计的每个人，以下就以个人经验来来总结一下解决问题的流程。</p>
<h3 class="subtitle">懒人大法——问你的朋友</h3>
<p>如果你有同样做网页设计的朋友，可以和他一起研究，也许他早就你想要的答案。至于在论坛论坛求助，就要看你RP了。</p>
<h3 class="subtitle">提前预防——看清楚IE、Mozilla下的CSS支持</h3>
<p>最踏实的方法就是在此之前就熟悉CSS在主流浏览器里的支持情况，有时候拿着CSS手册看，看到里面说的属性或选择赴多么多么的NB，结果没一个浏览器支持。这方面的讯息网络上已经积累了不少：</p>
<ul>
<li><a href="http://blogs.msdn.com/ie/archive/2006/08/22/712830.aspx">IE7的官方BLOG</a>，总结了IE7的CSS修正和已知错误</li>
<li><a href="http://www.positioniseverything.net/">PIE-Position is Everything</a>，IE6时代就存在的怨念群体，总结了很多IE的错误以及解决方案</li>
<li>也许你没有想到，<a href="http://developer.mozilla.org/en/docs/CSS_Reference:Mozilla_Extensions">Mozilla有专有属性</a>，可能在兼容性问题上你会用到</li>
<li><a href="http://www.communitymx.com/content/article.cfm?cid=C37E0&amp;print=true">分析显示问题的好文章</a></li>
</ul>
<h3 class="subtitle">乖孩子的做法——有时间多读读书</h3>
<p>如果你有幸从头到尾读下任何一本XHTML教程，你写出来的叶子就算无法正常显示，你也可以问心无愧。写书的，再菜也是这方面有过研究的学者。当然有一本好教材，那才叫如虎添翼。<br />
这方面的书籍，基本没有悬念的指向O‘Reilly出版社，就两本：《XHTML权威指南》6TH Edition（EN）5TH Edition（CN）、《CSS权威指南》1ST Edition（CN）2ND Edition（EN）。第二本书的有第三版，但是改动不大，而且只有英文版，不必求新。这些书EM上可以拖到，临时解馋，拥有一本实体书才是最重要的。CSS方面还有一本一定有的书，电子版的<a href="http://www.rainersu.com/download/css20.chm">CSS2手册</a>。<br />
另外最让人想不到的一点是<a href="http://www.w3.org/TR/CSS21/indexlist.html">W3C文档</a>，那上面很多东西都是宝!</p>
<h3 class="subtitle">坏孩子的做法——我用hack我怕谁</h3>
<p>一般来说是不推荐hack的，但是hack用起来真的很方便，而且如果真的成功了有种解脱了的感觉&#8230;&#8230;汗~下面是我保存下的hack资源：</p>
<ul>
<li><a href="http://bbs.blueidea.com/thread-2558268-1-1.html">IE7的!important hack</a></li>
<li><a href="http://andymao.com/andy/post/76.html">少量CSS Hack </a></li>
<li><a href="http://www.w3cn.org/article/tips/2006/120.html">CSS Hack图表</a></li>
</ul>
<h3 class="subtitle">做个细心人——关注页面可访问性</h3>
<p>很多时候就算一般浏览器显示正常，也不意味着所有浏览者都能正常阅读。可访问性——这是一个很大的课题，有的人会研究得很BT，往往也和SEO挂上钩，有时候读别人的文章，我会头晕。对于一般网站，我觉得能做到如下一些就好，其他事情可以自行Google：</p>
<ul>
<li>选择合适的DOCTYPE</li>
<li>标记恰当的语言</li>
<li>构建具有意义并且独特的标题</li>
<li>提供完整的导航工具</li>
<li>把你的主要内容提前</li>
<li>理性地使用颜色</li>
<li>使用真实链接</li>
<li>将链接写上title属性，图片上写上alt属性</li>
<li>设置键盘快捷方式</li>
<li>不要打开新窗口</li>
<li>学会使用arconyms</li>
<li>表格头TD标签如果要加粗，请换Caption</li>
<li>别为了布局而用spacer imgaes</li>
<li>使用水平标尺</li>
<li>恰当使用Header</li>
<li>用label标签组织表单</li>
<li>为每个页面提供搜索选项</li>
</ul>
<p>如果通过以上途径都没有改善问题，那么你能做的只有两件事情：</p>
<ol>
<li>更换你的思路，实现另一种效果</li>
<li>等待hack或浏览器更新</li>
</ol>
<p>Let&#8217;s Fvck That Page</p>
]]></content:encoded>
			<wfw:commentRss>http://pagetalks.com/2008/08/29/how-to-fvck-that-page.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
