<?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>網絡暴民 Jacky's Blog &#187; html</title>
	<atom:link href="http://jacky.seezone.net/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://jacky.seezone.net</link>
	<description></description>
	<lastBuildDate>Mon, 06 Sep 2010 03:07:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Chrome之攻殼</title>
		<link>http://jacky.seezone.net/2009/09/24/2597/</link>
		<comments>http://jacky.seezone.net/2009/09/24/2597/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 04:33:50 +0000</pubDate>
		<dc:creator>Jacky</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[電腦]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[web-standard]]></category>

		<guid isPermaLink="false">http://jacky.seezone.net/?p=2597</guid>
		<description><![CDATA[今年 Google I/O 大會花了很多時間講 HTML5 技術：canvas、video、geolocation、app cache &#38; storage、web workers 等等，說這些東西可以如何為 Web 帶來創新，言談間充滿熱情。然後，在一張 HTML5 Support 的 Slide 上，看到滿是剔，也就是想說：HTML5 已被支持了，請大家去開發吧！當然，這張表獨欠 IE，演講的 Vic Gundotra 說：「微軟已說會支持 HTML5，我們實在急不及待！」然後就是一陣鬨堂大笑。 然而現實問題卻不能一笑置之，IE 雖然最落後，但卻還是最多人用。Google 推出 Chrome 的確刺激瀏覽器市場，但 IE 太笨重，改進速度太慢，完全跟不上，在拖著 Google HTML5 大計的後腿。Google 的「急不及待」並非只是取笑對手，而是真的急了，急到要「攻殼」：推出 Google Chrome Frame ，也就是表面上用的是 IE，但實際內容使用 Chrome 的 Webkit 和 V8 引擎來運作，使 IE 突然之間就支持所有 HTML5 功能了。 這麼一招看似搞笑，但卻似是為了即將推出的 Wave 舖路。Wave 是 Google [...]]]></description>
			<content:encoded><![CDATA[	<p><a href="http://www.flickr.com/photos/gslin/3945610974/" title="Flickr 上 Gea-Suan Lin 的 IE7 + Google Chrome Frame (Acid3)"><img src="http://farm4.static.flickr.com/3484/3945610974_f86c17fd4a.jpg" width="500" height="423" alt="IE7 + Google Chrome Frame (Acid3)" /></a></p>

	<p>今年 Google I/O 大會花了很多時間講 HTML5 技術：canvas、video、geolocation、app cache &#38; storage、web workers 等等，說這些東西可以如何為 Web 帶來創新，言談間充滿熱情。然後，在一張 HTML5 Support 的 Slide 上，看到滿是剔，也就是想說：HTML5 已被支持了，請大家去開發吧！當然，這張表獨欠 IE，演講的 Vic Gundotra 說：「微軟已說會支持 HTML5，我們實在急不及待！」然後就是一陣鬨堂大笑。</p>

	<p>然而現實問題卻不能一笑置之，IE 雖然最落後，但卻還是最多人用。Google 推出 Chrome 的確刺激瀏覽器市場，但 IE 太笨重，改進速度太慢，完全跟不上，在拖著 Google HTML5 大計的後腿。Google 的「急不及待」並非只是取笑對手，而是真的急了，急到要「攻殼」：推出 <a href="http://code.google.com/intl/zh-TW/chrome/chromeframe/">Google Chrome Frame</a> ，也就是表面上用的是 IE，但實際內容使用 Chrome 的 Webkit 和 V8 引擎來運作，使 IE 突然之間就支持所有 HTML5 功能了。</p>

	<p>這麼一招看似搞笑，但卻似是為了即將推出的 <a href="http://wave.google.com">Wave</a> 舖路。Wave 是 Google 的一個重要「殺著」，其目光很遠大，能將現在網上溝通合作平台帶到另一個層次，但面對著一個隱憂：這東西很難理解，推廣不易。所以最實在的，還是讓越多人試用得到越好，但偏偏 IE 卻不能運行得到使用 HTML5 技術的 Wave。因此，Google 便有此一著，推出「狗頭羊肉」的 Chrome Frame 插件。</p>

	<p>不過，會裝這個插件的人，為不麼不索性裝個原裝的 Chrome 用？答案大概是「自動化」。這個插件查看網頁代碼上一個叫 X-UA-Compatible 的 meta tag，來判別是否是用 Chrome Frame 來運行。這樣，用家便不用記著那個網頁要用 Chrome 來開了。其實這一招來自 IE8 的 <a href="http://blogs.msdn.com/ie/archive/2008/06/10/introducing-ie-emulateie7.aspx">相容 IE7</a> 模式。</p>

	<p>Chrome Frame 的推出可見 Google 之急，以一副領導姿態幫 IE 「升級」。Chrome 在技術上的確領前很多，正當一眾瀏覽器在比拼 Javascript 速度的時候，早前出現了一個 <a href="http://jedi.org/blog/archives/005927.html">Javascript <span class="caps">NES</span> Emulator</a>  卻顯示 Chrome 在 canvas 上的效能遠超對手，也示範了更多可能性。可是 Chrome 雖然技術一流，但卻並非完美，其中 <a href="http://jedi.org/blog/archives/005927.html">親和力便是一場災難</a> ，Chrome Frame 之「攻殼」，也就將 IE8 的親和力一下子廢除了。</p>


	Tags:  <a href="http://jacky.seezone.net/tag/browser/" title="browser" rel="tag">browser</a>, <a href="http://jacky.seezone.net/tag/chrome/" title="chrome" rel="tag">chrome</a>, <a href="http://jacky.seezone.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://jacky.seezone.net/tag/web-standard/" title="web-standard" rel="tag">web-standard</a><br />

	<h3>相關文章</h3>
	<ul class="st-related-posts">
	<li><a href="http://jacky.seezone.net/2004/10/05/1009/" title="停留的Web Standard (2) (October 5, 2004)">停留的Web Standard (2)</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2009/01/30/2349/" title="不走回頭路 (January 30, 2009)">不走回頭路</a> (11)</li>
	<li><a href="http://jacky.seezone.net/2005/06/11/1269/" title="網頁進化 (June 11, 2005)">網頁進化</a> (2)</li>
	<li><a href="http://jacky.seezone.net/2005/07/06/1297/" title="痛改前非? (July 6, 2005)">痛改前非?</a> (0)</li>
	<li><a href="http://jacky.seezone.net/2008/09/02/2090/" title="瀏覽器之戰新成員 Google Chrome (September 2, 2008)">瀏覽器之戰新成員 Google Chrome</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://jacky.seezone.net/2009/09/24/2597/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>物件導向 CSS</title>
		<link>http://jacky.seezone.net/2009/03/03/2409/</link>
		<comments>http://jacky.seezone.net/2009/03/03/2409/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 16:03:20 +0000</pubDate>
		<dc:creator>Jacky</dc:creator>
				<category><![CDATA[電腦]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[object-oriented]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://jacky.seezone.net/?p=2409</guid>
		<description><![CDATA[驟眼看來 Object Oriented CSS 好像不過是另一個 CSS Grid，但背後有其一道哲學，就是以 Object Oriented 的方式去寫 CSS (廢話)，著重的是可以通過 code reuse，來分隔結構與皮膚、容器與內容。 可是這怎樣可以達成呢？CSS 本身並沒有所謂 Object 概念，其主要靠的是 Cascade，將 CSS Rules 一路堆疊下去。在這裏可以模擬到一點「繼承」特點，在同一個 tag 上使用多個 class (其實是 composition)。不過要真正做到很有規則，就要靠「自律」：自訂一些規則、實踐方法去跟從。 OOCSS 的方法是由「外到內」地如砌 LEGO 般建築頁面。先要弄好一個 template 檔，裏面只會包含一些 header、footer 等等基本的結構和一些基本元素如 heading、list 等等。然後做頁面時就可以使用 Line 和 Grid，來將這些容器細分為更細小的空間。最後才做內容。而理想的情況是，要做新頁或加入新的元素時，只要更動 HTML 就好。 不過因為 Cascade 特性，所有元素理論上也會繼承母元素的樣式，這當中可能要苦計一番 Specifity 和經常使用 !important 來 override 或 reset 樣式。另一個問題是，我們通常都不會第一時間想到最適合的結構和樣式，這當中又有沒有簡單的方法，如 Programming 般做到 [...]]]></description>
			<content:encoded><![CDATA[	<p>驟眼看來 <a href="http://wiki.github.com/stubbornella/oocss">Object Oriented <span class="caps">CSS</span></a> 好像不過是另一個 <span class="caps">CSS</span> Grid，但背後有其一道哲學，就是以 Object Oriented 的方式去寫 <span class="caps">CSS</span> (廢話)，著重的是可以通過 code reuse，來分隔結構與皮膚、容器與內容。</p>

	<p>可是這怎樣可以達成呢？CSS 本身並沒有所謂 Object 概念，其主要靠的是 Cascade，將 <span class="caps">CSS</span> Rules 一路堆疊下去。在這裏可以模擬到一點「繼承」特點，在同一個 tag 上使用多個 class (其實是 composition)。不過要真正做到很有規則，就要靠「自律」：自訂一些規則、實踐方法去跟從。</p>

	<p><span class="caps">OOCSS</span> 的方法是由「外到內」地如砌 <span class="caps">LEGO</span> 般建築頁面。先要弄好一個 template 檔，裏面只會包含一些 header、footer 等等基本的結構和一些基本元素如 heading、list 等等。然後做頁面時就可以使用 Line 和 Grid，來將這些容器細分為更細小的空間。最後才做內容。而理想的情況是，要做新頁或加入新的元素時，只要更動 <span class="caps">HTML</span> 就好。</p>

	<p>不過因為 Cascade 特性，所有元素理論上也會繼承母元素的樣式，這當中可能要苦計一番 Specifity 和經常使用 !important 來 override 或 reset 樣式。另一個問題是，我們通常都不會第一時間想到最適合的結構和樣式，這當中又有沒有簡單的方法，如 Programming 般做到 Refactoring？</p>

	<p>暫時放出來的 <span class="caps">OOCSS</span> 只有 template 和 Grid 的部份，以 <span class="caps">YUI</span> Grid 為基礎，暫時也很難從例子見到成效如何。(template 部份還連結錯 <span class="caps">CSS</span>&#8230;) 接下來還會有 Module Structures、Module Skins、Content objects 等等。且看發展如何？</p>

	<p><div style="width:425px;text-align:left" id="__ss_990405"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/stubbornella/object-oriented-css?type=presentation" title="Object Oriented CSS">Object Oriented <span class="caps">CSS</span></a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slideshare.net/swf/ssplayer2.swf?doc=oocss-1233786987806904-3&#038;stripped_title=object-oriented-css" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/swf/ssplayer2.swf?doc=oocss-1233786987806904-3&#038;stripped_title=object-oriented-css" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/stubbornella">Nicole Sullivan</a>. (tags: <a style="text-decoration:underline;" href="http://slideshare.net/tag/modules">modules</a> <a style="text-decoration:underline;" href="http://slideshare.net/tag/blocks">blocks</a>)</div></div><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyMzYwMDMwNTgzOTUmcHQ9MTIzNjAwODE5NjgzMiZwPTEwMTkxJmQ9Jmc9MiZ*PSZvPTBhMDE1ZmYyZmFhMzRlMGE4ZDZjYTQ*ZjNiZjk*ZmI3.gif" /></p>


	Tags:  <a href="http://jacky.seezone.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://jacky.seezone.net/tag/grid/" title="grid" rel="tag">grid</a>, <a href="http://jacky.seezone.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://jacky.seezone.net/tag/object-oriented/" title="object-oriented" rel="tag">object-oriented</a>, <a href="http://jacky.seezone.net/tag/template/" title="template" rel="tag">template</a>, <a href="http://jacky.seezone.net/tag/yui/" title="yui" rel="tag">yui</a><br />

	<h3>相關文章</h3>
	<ul class="st-related-posts">
	<li><a href="http://jacky.seezone.net/2008/02/25/1959/" title="網絡隨想三則 (February 25, 2008)">網絡隨想三則</a> (10)</li>
	<li><a href="http://jacky.seezone.net/2004/10/05/1009/" title="停留的Web Standard (2) (October 5, 2004)">停留的Web Standard (2)</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2004/10/16/1021/" title="Get list on Google (October 16, 2004)">Get list on Google</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2008/10/24/2206/" title="CSS 的 table 排版 (October 24, 2008)">CSS 的 table 排版</a> (7)</li>
	<li><a href="http://jacky.seezone.net/2005/01/24/1090/" title="顏色改動 (January 24, 2005)">顏色改動</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://jacky.seezone.net/2009/03/03/2409/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS 的 table 排版</title>
		<link>http://jacky.seezone.net/2008/10/24/2206/</link>
		<comments>http://jacky.seezone.net/2008/10/24/2206/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 08:39:31 +0000</pubDate>
		<dc:creator>Jacky</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[電腦]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[web-standard]]></category>

		<guid isPermaLink="false">http://jacky.seezone.net/?p=2206</guid>
		<description><![CDATA[最近看到兩篇文章： The Problem with CSS 和 Everything You Know about CSS is wrong ，都是 sitepoint 為新書作宣傳的文章，談的是 CSS 排版的問題。 CSS 排版難學又難精，因為其當初並沒有為排版而設的規則，因此即使要做幾個簡單的 Column，也必需走很遠的路：理解一大堆 CSS 的 Box Model、Positioning、Document Flow 等的運作原理，用很多怪招如 faux column、negative margin 等等去嘗試實作。終於做到效果，卻發覺某某在內容會破壞整個排版，脆弱得很。各大瀏覽器對 CSS 的支持程度不一，要花大量心力處理這些差異。也因為這樣，而催生了 一大堆 CSS Framework ，主要就是想解決排版的問題。 其實對於要弄 grid-like 的排版，有更簡單的古方：HTML table，問題是這個做法並不符合網頁標準網頁標準的精神1，即讓 HTML 標籤能符合語義 (Semantics)，而有關外表描述讓 CSS 解決。所以 Table 只應用顯示表列式的資料，用 Table 來排版語義上不對。因此，推行網頁標準，間接要提供 Table 排版以外的方案，但 CSS 排版頗高的學習曲線，某程度上也阻礙了網頁標準的推行。 那麼還有沒有更好的方法，可以順得哥情又不失嫂意？上述文章提到 [...]]]></description>
			<content:encoded><![CDATA[	<p>最近看到兩篇文章： <a href="http://www.sitepoint.com/print/the-problem-with-css-is/">The Problem with <span class="caps">CSS</span></a> 和 <a href="http://www.digital-web.com/articles/everything_you_know_about_CSS_Is_wrong/">Everything You Know about <span class="caps">CSS</span> is wrong</a> ，都是 sitepoint 為新書作宣傳的文章，談的是 <span class="caps">CSS</span> 排版的問題。</p>

	<p><span class="caps">CSS</span> 排版難學又難精，因為其當初並沒有為排版而設的規則，因此即使要做幾個簡單的 Column，也必需走很遠的路：理解一大堆 <span class="caps">CSS</span> 的 Box Model、Positioning、Document Flow 等的運作原理，用很多怪招如 faux column、negative margin 等等去嘗試實作。終於做到效果，卻發覺某某在內容會破壞整個排版，脆弱得很。各大瀏覽器對 <span class="caps">CSS</span> 的支持程度不一，要花大量心力處理這些差異。也因為這樣，而催生了 <a href="http://en.wikipedia.org/wiki/List_of_CSS_frameworks">一大堆 <span class="caps">CSS</span> Framework</a> ，主要就是想解決排版的問題。</p>

	<p>其實對於要弄 grid-like 的排版，有更簡單的古方：HTML table，問題是這個做法並不符合<del>網頁標準</del>網頁標準的精神<sup class="footnote"><a href="#fn21393555574c86594306f55">1</a></sup>，即讓 <span class="caps">HTML</span> 標籤能符合語義 (Semantics)，而有關外表描述讓 <span class="caps">CSS</span> 解決。所以 Table 只應用顯示表列式的資料，用 Table 來排版語義上不對。因此，推行網頁標準，間接要提供 Table 排版以外的方案，但 <span class="caps">CSS</span> 排版頗高的學習曲線，某程度上也阻礙了網頁標準的推行。</p>

	<p>那麼還有沒有更好的方法，可以順得哥情又不失嫂意？上述文章提到 CSS2 裏的 <code>display: table</code> 類的屬性，即可以用 <span class="caps">CSS</span> 指示任何元素表現得像 table 一般，瀏覽器會在實際繪畫時，自動補上 table 元素。這樣的話，用簡單幾句語法就可以實行 Column 排版了。</p>

	<p>有人會覺得：實際就是用 table 來排版嘛！這麼多年來叫人不要用 table 排版，現在又叫人用，豈非本末倒置？我想在這裏必需認清的是：用甚麼來做網頁排版才算「正確」？在 CSS3 裏的確有 <a href="http://www.w3.org/TR/css3-layout/">排版模組</a> ，但仍然是在起草階段。而在真正可用這些排版屬性前，我們用盡現有 <span class="caps">CSS</span> 可行的方法去試去做，所以才有那麼多排版怪招，<code>display:table</code> 只是其中一種方法罷了，難道用 float、negative margin 等才是「正確」？最重要的是有沒有違反網頁標準的精神。使用 <code>display:table</code>，HTML 可以保留語義，CSS 只作外表描述，大概沒有問題吧？</p>

	<p>當然，table 也並非完美，例如在第二篇文章中的相集例子裏的 <span class="caps">HTML</span> 碼：</p>

<div class="igBar"><span id="lhtml-2"><a href="#" onclick="javascript:showPlainTxt('html-2'); return false;">PLAIN TEXT</a></span></div><div class="syntax_hilite"><span class="langName">HTML:</span><br />
<div id="html-2">
<div class="html"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">&lt;div</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"grid"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">&lt;div</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"row"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">&lt;div</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"image"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">&lt;img</span></a> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"images/photo1.jpg"</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">"A Lily"</span> /<span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p&gt;</span></a></span>A lily in the gardens of The Vyne Country House<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span> </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span> </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">&lt;div</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"image"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">&lt;img</span></a> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"images/photo3.jpg"</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">"A Fuchsia plant"</span> /<span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p&gt;</span></a></span>Fuchsia plant in my garden<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span> </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span> </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span> </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">&lt;div</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"row"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">&lt;div</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"image"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span> </div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">&lt;img</span></a> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"images/photo2.jpg"</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">"A crazy looking Allium flower"</span> /<span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p&gt;</span></a></span>A crazy looking flower<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">&lt;div</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"image"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/img.html"><span style="color: #000000; font-weight: bold;">&lt;img</span></a> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">"images/photo4.jpg"</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">"A Robin sitting on a fence"</span> /<span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p&gt;</span></a></span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; This robin has been visiting our garden over the summer. </div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; He is very friendly and doesn't seem to be too worried about sharing the garden with us.</div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span></div></li>
<li style="font-weight: bold;color:#26536A;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span></div></li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span> </div></li></ol></div>
</div></div><br />


	<p>這裏代碼其實跟一個 <span class="caps">HTML</span> table 差不多，只不過全都變成了 div。其中 <code>&#60;div class=&#34;row&#34;&#62;</code> 究竟是一種只屬外表的架構，還是符合語義的？但如想使用 <code>display:table</code>，這個元素是必需的。 (雖然文章解釋過瀏覽器會自動產生其他 table 元素，但 <a href="http://www.quirksmode.org/css/display.html#table">Safari</a> 上似乎有一些限制)。</p>

	<p>雖然可用 <code>display:table</code>，但現時為止卻不是所有瀏覽器都支持，至少仍時是市場上佔大多數的 IE6/7 還未支持。將推出的 IE8 將會更全面支持 CSS2 並 <a href="http://blogs.msdn.com/ie/archive/2007/12/19/internet-explorer-8-and-acid2-a-milestone.aspx">通過 ACID2</a> ，也會支持 <code>display:table</code>，所以文章作者覺得時機大概成熟，可以試用了？不過要等到大多數用戶都轉成 IE8，大概又要好幾年時間吧？而且還要看 Windows 7 的銷售如何呢？</p>

	<p id="fn21393555574c86594306f55" class="footnote"><sup>1</sup>  「網頁標準」在這裏的意思傾向於 <a href="http://en.wikipedia.org/wiki/Web_standards">Wikipedia</a> 所說：In recent years, the term has been more frequently associated with the trend of endorsing a set of standardized best practices for building web sites, and a philosophy of web design and development that includes those methods</p>


	Tags:  <a href="http://jacky.seezone.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://jacky.seezone.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://jacky.seezone.net/tag/layout/" title="layout" rel="tag">layout</a>, <a href="http://jacky.seezone.net/tag/web-standard/" title="web-standard" rel="tag">web-standard</a><br />

	<h3>相關文章</h3>
	<ul class="st-related-posts">
	<li><a href="http://jacky.seezone.net/2004/10/05/1009/" title="停留的Web Standard (2) (October 5, 2004)">停留的Web Standard (2)</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2004/10/16/1021/" title="Get list on Google (October 16, 2004)">Get list on Google</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2006/04/04/1601/" title="預告：明天不穿衣 (April 4, 2006)">預告：明天不穿衣</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2005/02/05/1102/" title="雅虎香港走向CSS (February 5, 2005)">雅虎香港走向CSS</a> (0)</li>
	<li><a href="http://jacky.seezone.net/2005/06/11/1269/" title="網頁進化 (June 11, 2005)">網頁進化</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://jacky.seezone.net/2008/10/24/2206/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>jQuery Plugin &#8211; Stupid Fixed Header for HTML Table</title>
		<link>http://jacky.seezone.net/2008/10/23/2203/</link>
		<comments>http://jacky.seezone.net/2008/10/23/2203/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 17:12:47 +0000</pubDate>
		<dc:creator>Jacky</dc:creator>
				<category><![CDATA[電腦]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jacky.seezone.net/?p=2203</guid>
		<description><![CDATA[Sometimes you would like to have a nice table to navigate data with the header fixed on top while scrolling. There are many Javascript dataGrid component out there to do this but sometimes you just don&#8217;t need all those features. So I have wrote a jQuery plugin to create a fixed table header on a [...]]]></description>
			<content:encoded><![CDATA[	<p>Sometimes you would like to have a nice table to navigate data with the header fixed on top while scrolling. There are many Javascript dataGrid component out there to do this but sometimes you just don&#8217;t need all those features. So I have wrote a <a href="http://jquery.com">jQuery</a> plugin to create a fixed table header on a normal <span class="caps">HTML</span> table. It&#8217;s called <a href="http://jacky.seezone.net/fixedheader/fixedheader.html">Stupid Fixed Header</a> .</p>

	<p>I called it &#8216;stupid&#8217; because it does so many things to achieve this little effect:</p>

	<ol>
		<li>create extra divs to wrap table up</li>
		<li>cloning current table header</li>
		<li>put the cloned table header on top of the current table</li>
		<li>synchronize width of each cell</li>
		<li>synchronize scroll position when scrolling</li>
	</ol>

	<p>This idea is not original. I have read it elsewhere but cannot find the source again. So I do it in jQuery way.</p>

	<p>The good things:
	<ul>
		<li>supports horizontal scroll</li>
		<li>work across browsers (tested on IE6/7, Firefox3.1, Opera9.5, Chrome0.2, Safari 3.1.2).</li>
	</ul></p>

	<p>The bad things:
	<ul>
		<li>in order to calculate correct cell width in different browsers, I have made certain assumptions in the default implementation: table&#8217;s border-collapse is collapse, cell have borders, etc. Therefore, you may need to make change for the width calculation. This is made possible by supplying <code>adjustWidth</code> to the plugin option. (However, dealing with width in table can be really troublesome. Even current implementation is not pixel perfect.)</li>
		<li>Firefox has a <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=410621">bug of missing border</a> when placing table inside a overflow div. Some specific <span class="caps">CSS</span> rules has been added to the sample page to workaround this.</li>
		<li>It&#8217;s not pixel perfect.</li>
		<li>It may not perform well.</li>
		<li>The header cells will not get resized when the table cells width changes. This can be done by re-calculate the cells width and add custom event to the table for triggering. I&#8217;ll leave it to someone who has interest in doing so&#8230;</li>
	</ul></p>

	<p>To support IE6, I have worked around the z-index bug by hiding &lt;select&gt; component. The reason for not using iframe hack is that it will get flashy when scroll.</p>

	<p>Feel free to check the <a href="http://jacky.seezone.net/fixedheader/fixedheader.html">demo and doc</a> .</p>


	Tags:  <a href="http://jacky.seezone.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://jacky.seezone.net/tag/javascript/" title="javascript" rel="tag">javascript</a>, <a href="http://jacky.seezone.net/tag/jquery/" title="jquery" rel="tag">jquery</a>, <a href="http://jacky.seezone.net/tag/plugins/" title="plugins" rel="tag">plugins</a>, <a href="http://jacky.seezone.net/tag/programming/" title="programming" rel="tag">programming</a><br />

	<h3>相關文章</h3>
	<ul class="st-related-posts">
	<li><a href="http://jacky.seezone.net/2008/03/27/1972/" title="jQuery validation 的 addMethod (March 27, 2008)">jQuery validation 的 addMethod</a> (3)</li>
	<li><a href="http://jacky.seezone.net/2009/01/15/2318/" title="jQuery 1.3 and JS Bin (January 15, 2009)">jQuery 1.3 and JS Bin</a> (0)</li>
	<li><a href="http://jacky.seezone.net/2008/04/14/1979/" title="Focus first text field using jQuery (April 14, 2008)">Focus first text field using jQuery</a> (7)</li>
	<li><a href="http://jacky.seezone.net/2008/10/31/2221/" title="高亮連結油猴腳本 (October 31, 2008)">高亮連結油猴腳本</a> (0)</li>
	<li><a href="http://jacky.seezone.net/2009/04/23/2470/" title="買餐計價 (April 23, 2009)">買餐計價</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://jacky.seezone.net/2008/10/23/2203/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTML5 code demo</title>
		<link>http://jacky.seezone.net/2008/09/29/2167/</link>
		<comments>http://jacky.seezone.net/2008/09/29/2167/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 07:12:10 +0000</pubDate>
		<dc:creator>Jacky</dc:creator>
				<category><![CDATA[電腦]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[talk]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[web-standard]]></category>

		<guid isPermaLink="false">http://jacky.seezone.net/?p=2167</guid>
		<description><![CDATA[這是 Ian Hickson 在 Google 一個有關 HTML5 的演講， 直接打 code 來 demo。部份瀏覽器已在實作這些功能了。對於熟識 HTML 的開發者，應該會看得很興奮。下面是高清版本： Update: 貼文這段 video 竟然 no longer available&#8230; 但這是 Google 自己 host 的啊&#8230; 等一下看看會不會再有 update Tags: html, programming, talk, video, web-standard 相關文章 專利之惡 (1) 停留的Web Standard (2) (1) [轉] Agile Software, People, and Teams (0) jQuery Plugin &#8211; Stupid Fixed Header for [...]]]></description>
			<content:encoded><![CDATA[	<p>這是 Ian Hickson 在 Google 一個有關 HTML5 的演講， 直接打 code 來 demo。部份瀏覽器已在實作這些功能了。對於熟識 <span class="caps">HTML</span> 的開發者，應該會看得很興奮。下面是高清版本：</p>

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/xIxDJof7xxQ&#038;ap=%2526fmt%3D18&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/xIxDJof7xxQ&#038;ap=%2526fmt%3D18&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

	<p>Update: 貼文這段 video 竟然 no longer available&#8230; 但這是 Google 自己 host 的啊&#8230; 等一下看看會不會再有 update</p>
	Tags:  <a href="http://jacky.seezone.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://jacky.seezone.net/tag/programming/" title="programming" rel="tag">programming</a>, <a href="http://jacky.seezone.net/tag/talk/" title="talk" rel="tag">talk</a>, <a href="http://jacky.seezone.net/tag/video/" title="video" rel="tag">video</a>, <a href="http://jacky.seezone.net/tag/web-standard/" title="web-standard" rel="tag">web-standard</a><br />

	<h3>相關文章</h3>
	<ul class="st-related-posts">
	<li><a href="http://jacky.seezone.net/2010/05/05/2882/" title="專利之惡 (May 5, 2010)">專利之惡</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2004/10/05/1009/" title="停留的Web Standard (2) (October 5, 2004)">停留的Web Standard (2)</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2008/10/21/2200/" title="[轉] Agile Software, People, and Teams (October 21, 2008)">[轉] Agile Software, People, and Teams</a> (0)</li>
	<li><a href="http://jacky.seezone.net/2008/10/23/2203/" title="jQuery Plugin &#8211; Stupid Fixed Header for HTML Table (October 23, 2008)">jQuery Plugin &#8211; Stupid Fixed Header for HTML Table</a> (2)</li>
	<li><a href="http://jacky.seezone.net/2004/10/16/1021/" title="Get list on Google (October 16, 2004)">Get list on Google</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://jacky.seezone.net/2008/09/29/2167/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>網絡隨想三則</title>
		<link>http://jacky.seezone.net/2008/02/25/1959/</link>
		<comments>http://jacky.seezone.net/2008/02/25/1959/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 18:07:59 +0000</pubDate>
		<dc:creator>Jacky</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[ai]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[semantic]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://jacky.seezone.net/2008/02/25/1959/</guid>
		<description><![CDATA[〈一〉 跟朋友早前討論過一下在香港推廣 Web Standards 的困難，其一就是出來的成果並不會特別令老闆眼前一亮。你用 table 排版，滿是 presentational tags 的 HTML 所做出來的網頁，並不會因為用了 CSS 和語意「齊整」的 HTML 特別變得好看，看上去可能都是一模一樣。如果老闆只看到結果都是差不多，那為何要改用呢？ 使用更好方法和架構，就像練好內功一樣，深藏不露。江湖郎中或許可以一招半式耍得似模似樣，但一到比真的就完全不行。比較醒的老闆，會看得出「成果」不是看表面這麼簡單，網頁的速度、所耗的流量、瀏覽器的支持度、介面的統一性、代碼的管理與維持、改變的影響等等，通通都應該納入考量。 內功練得好，自然能應對更多情況。 〈二〉 Web 2.0 這個字響起後，大家都在看 Web 3.0 ，想法多多，其中有人認為我們將需要更全面的語意網 (Semantic Web)。語意網之建立，在於我們能否將更多「意義」，化為機器可了解和運用的描述，將之利用分析。此為「形容資料的資料」，即後設資料。 然而，這些「意義」由那裏來？大都要靠人作輸入。或許我們可以叫機器嘗試在普通的文件作統計分析，抽出「意義」，但若 AI 未聰明到可以理解，所做的只是有限。 為網絡輸入「意義」，也好像在練功，不過除了為自己，也為了大家。問題是，當用家不能看到甚麼即時的好處，也不會特別神心地輸入。 〈三〉 網絡是資訊泛濫之地，在這裏流通的各種資訊，已大大超越我們所能處理的，因此我們不停地嘗試解決這個問題。其一方法就是加入「意義」，然後讓機器處理。 追源溯流，資訊由何而來？都是由人類而來？機器可不可能產生資訊？ 機器產生資訊，可以是工廠式的，但背後以乎一定由人類操縱，資訊來源似乎也必與人類有關。例如，機器讀取股市價格，弄成圖表給大家參考，但股市則是人類活動，而設計圖表的也是人類。但若果要由機器自覺地產生資訊，又關係到 AI 的發展，夠不夠「聰明」。 這個問題，還可以進一步追溯到人類由何而來。早前到朋友寫到關於 智慧設計論 的文章，介紹其中論點，就是認為自然定理不能創造資訊 (Information)。當然，這已超越我所能討論的範圍了。 相關文章： Semantic Web: Where Are The Meaning-Enabled Authoring Tools? Tags: ai, css, html, information, [...]]]></description>
			<content:encoded><![CDATA[	<p>〈一〉</p>

	<p>跟朋友早前討論過一下在香港推廣 Web Standards 的困難，其一就是出來的成果並不會特別令老闆眼前一亮。你用 table 排版，滿是 presentational tags 的 <span class="caps">HTML</span> 所做出來的網頁，並不會因為用了 <span class="caps">CSS</span> 和語意「齊整」的 <span class="caps">HTML</span> 特別變得好看，看上去可能都是一模一樣。如果老闆只看到結果都是差不多，那為何要改用呢？</p>

	<p>使用更好方法和架構，就像練好內功一樣，深藏不露。江湖郎中或許可以一招半式耍得似模似樣，但一到比真的就完全不行。比較醒的老闆，會看得出「成果」不是看表面這麼簡單，網頁的速度、所耗的流量、瀏覽器的支持度、介面的統一性、代碼的管理與維持、改變的影響等等，通通都應該納入考量。</p>

	<p>內功練得好，自然能應對更多情況。</p>

	<p>〈二〉</p>

	<p>Web 2.0 這個字響起後，大家都在看 Web 3.0 ，想法多多，其中有人認為我們將需要更全面的語意網 (Semantic Web)。語意網之建立，在於我們能否將更多「意義」，化為機器可了解和運用的描述，將之利用分析。此為「形容資料的資料」，即後設資料。</p>

	<p>然而，這些「意義」由那裏來？大都要靠人作輸入。或許我們可以叫機器嘗試在普通的文件作統計分析，抽出「意義」，但若 AI 未聰明到可以理解，所做的只是有限。</p>

	<p>為網絡輸入「意義」，也好像在練功，不過除了為自己，也為了大家。問題是，當用家不能看到甚麼即時的好處，也不會特別神心地輸入。</p>

	<p>〈三〉</p>

	<p>網絡是資訊泛濫之地，在這裏流通的各種資訊，已大大超越我們所能處理的，因此我們不停地嘗試解決這個問題。其一方法就是加入「意義」，然後讓機器處理。</p>

	<p>追源溯流，資訊由何而來？都是由人類而來？機器可不可能產生資訊？</p>

	<p>機器產生資訊，可以是工廠式的，但背後以乎一定由人類操縱，資訊來源似乎也必與人類有關。例如，機器讀取股市價格，弄成圖表給大家參考，但股市則是人類活動，而設計圖表的也是人類。但若果要由機器自覺地產生資訊，又關係到 AI 的發展，夠不夠「聰明」。</p>

	<p>這個問題，還可以進一步追溯到人類由何而來。早前到朋友寫到關於 <a href="http://keung.seezone.net/?p=140">智慧設計論</a> 的文章，介紹其中論點，就是認為自然定理不能創造資訊 (Information)。當然，這已超越我所能討論的範圍了。</p>

	<p>相關文章： <a href="http://www.readwriteweb.com/archives/semantic_web_authoring_tools.php">Semantic Web: Where Are The Meaning-Enabled Authoring Tools?</a></p>
	Tags:  <a href="http://jacky.seezone.net/tag/ai/" title="ai" rel="tag">ai</a>, <a href="http://jacky.seezone.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://jacky.seezone.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://jacky.seezone.net/tag/information/" title="information" rel="tag">information</a>, <a href="http://jacky.seezone.net/tag/semantic/" title="semantic" rel="tag">semantic</a>, <a href="http://jacky.seezone.net/tag/web/" title="web" rel="tag">web</a><br />

	<h3>相關文章</h3>
	<ul class="st-related-posts">
	<li><a href="http://jacky.seezone.net/2006/07/12/1680/" title="人工智能與語意網 (July 12, 2006)">人工智能與語意網</a> (3)</li>
	<li><a href="http://jacky.seezone.net/2006/04/04/1601/" title="預告：明天不穿衣 (April 4, 2006)">預告：明天不穿衣</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2010/06/03/2936/" title="電腦生命天演論 (June 3, 2010)">電腦生命天演論</a> (2)</li>
	<li><a href="http://jacky.seezone.net/2005/02/05/1102/" title="雅虎香港走向CSS (February 5, 2005)">雅虎香港走向CSS</a> (0)</li>
	<li><a href="http://jacky.seezone.net/2005/06/11/1269/" title="網頁進化 (June 11, 2005)">網頁進化</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://jacky.seezone.net/2008/02/25/1959/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Get list on Google</title>
		<link>http://jacky.seezone.net/2004/10/16/1021/</link>
		<comments>http://jacky.seezone.net/2004/10/16/1021/#comments</comments>
		<pubDate>Sat, 16 Oct 2004 03:28:00 +0000</pubDate>
		<dc:creator>Jacky</dc:creator>
				<category><![CDATA[電腦]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[web-standard]]></category>

		<guid isPermaLink="false">http://jacky.seezone.net/?p=1021</guid>
		<description><![CDATA[As I&#8217;m still building the EVA Zone using textpattern . A recent log entries shows that a google search has reached my site. So I come to realize my never-promote-before new site is listed on the google&#8217;s list already. It&#8217;s quite surprising to me. I think the main reasons are: Standard compliant: I&#8217;m using XHTML [...]]]></description>
			<content:encoded><![CDATA[	<p>As I&#8217;m still building the <a href="http://evazone.seezone.net" title="renewal"><span class="caps">EVA</span> Zone</a> using <a href="http://www.textpattern.com">textpattern</a> . A recent log entries shows that a <a href="http://www.google.com.tw/search?hl=zh-TW&#38;amp;q=%E7%A6%8F%E9%9F%B3%E6%88%B0%E5%A3%AB%2BTHANATOS+IF+I+CAN%27T+BE+YOURS&#38;amp;meta=lr%3Dlang_zh-TW">google search</a>  has reached my site. So I come to realize my never-promote-before new site is listed on the google&#8217;s list already. It&#8217;s quite surprising to me. I think the main reasons are:</p>

	<ol>
		<li>Standard compliant: I&#8217;m using <span class="caps">XHTML</span> transitional and try to validate each page as possible. Althought the <span class="caps">CSS</span> I used has some hack on <span class="caps">PNG</span> so it does not validate.</li>
		<li>The use of <span class="caps">CSS</span> to make us of h1,h2,h3 tag really helps. These tags help those web spider to come across your page faster.</li>
		<li>The use of &#8216;Clean <span class="caps">URL</span>&#8217; featured in <acronym title="Textpattern"><span class="caps">TXP</span></acronym> . The <span class="caps">URL</span> of my new site <strong>looks</strong> static, rather than attaching a long argument list &#8216;?s=news&amp;xxxxx..&#8217;</li>
	</ol>

	<p>That&#8217;s good~~</p>
	Tags:  <a href="http://jacky.seezone.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://jacky.seezone.net/tag/google/" title="google" rel="tag">google</a>, <a href="http://jacky.seezone.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://jacky.seezone.net/tag/web-standard/" title="web-standard" rel="tag">web-standard</a><br />

	<h3>相關文章</h3>
	<ul class="st-related-posts">
	<li><a href="http://jacky.seezone.net/2004/10/05/1009/" title="停留的Web Standard (2) (October 5, 2004)">停留的Web Standard (2)</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2008/10/24/2206/" title="CSS 的 table 排版 (October 24, 2008)">CSS 的 table 排版</a> (7)</li>
	<li><a href="http://jacky.seezone.net/2006/04/04/1601/" title="預告：明天不穿衣 (April 4, 2006)">預告：明天不穿衣</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2005/02/05/1102/" title="雅虎香港走向CSS (February 5, 2005)">雅虎香港走向CSS</a> (0)</li>
	<li><a href="http://jacky.seezone.net/2005/06/11/1269/" title="網頁進化 (June 11, 2005)">網頁進化</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://jacky.seezone.net/2004/10/16/1021/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Textile VS MarkDown</title>
		<link>http://jacky.seezone.net/2004/10/06/1012/</link>
		<comments>http://jacky.seezone.net/2004/10/06/1012/#comments</comments>
		<pubDate>Wed, 06 Oct 2004 06:46:06 +0000</pubDate>
		<dc:creator>Jacky</dc:creator>
				<category><![CDATA[電腦]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://jacky.seezone.net/?p=1012</guid>
		<description><![CDATA[最近因為要研究 textpattern ，所以會接觸到其built-in的 textile 。簡單來說，textile是一種簡單的文章語言，方便使用者不用打html code來寫web content。 例如：使用者只要打 * first item * second item 就可以得出這些code: &#60;ul&#62; &#60;li&#62;First item&#60;/li&#62; &#60;li&#62;Second item&#60;/li&#62; &#60;/ul&#62; 連同其他如，插入圖片、定義header、使用css、定義id等等，將所用的html code簡化，然後讓textile自己轉化成為適當的html code。 而 markdown 也是相類似的東西，也是將一些比較簡單易明的syntax寫成html code。 就兩者比較說，markdown是比較完整和人性化的，因為他本身寫出來的source file，就算單單這樣開出來看也很有條理，可以看看 markdown的source ，是很易明白的，就算沒有學過用markdown也不會看不明白。至於textile，則比較屬於深入的類型，因為可以定義不同的class、style，所以看上去的source還是很抽象，而且還有一些bug，例如不可以做到multi-paragraphs的blockquote，number list會錯，inline styling相對於double byte character無效等等，所以markdown還是比較好用。 不過因為textpattern是用textile的，所以也就要習慣使用一下了，寫的時候的確要適應一下。 Tags: html, web 相關文章 網絡隨想三則 (10) 驢子走上來了 (5) 預告：明天不穿衣 (1) 音樂下載庫？ (19) 電腦生命天演論 (2)]]></description>
			<content:encoded><![CDATA[	<p>最近因為要研究 <a href="http://www.textpattern.com">textpattern</a> ，所以會接觸到其built-in的 <a href="http://www.textism.com/tools/textile/index.html">textile</a> 。簡單來說，textile是一種簡單的文章語言，方便使用者不用打html code來寫web content。<br />
<span id="more-1012"></span></p>

	<p>例如：使用者只要打</p>

	<p>* first item<br />
* second item</p>

	<p>就可以得出這些code:</p>

<pre><code>
&#60;ul&#62;
    &#60;li&#62;First item&#60;/li&#62;
    &#60;li&#62;Second item&#60;/li&#62;
&#60;/ul&#62;
</code></pre>

	<p>連同其他如，插入圖片、定義header、使用css、定義id等等，將所用的html code簡化，然後讓textile自己轉化成為適當的html code。</p>

	<p>而 <a href="http://daringfireball.net/projects/markdown/">markdown</a> 也是相類似的東西，也是將一些比較簡單易明的syntax寫成html code。</p>

	<p>就兩者比較說，markdown是比較完整和人性化的，因為他本身寫出來的source file，就算單單這樣開出來看也很有條理，可以看看 <a href="http://daringfireball.net/projects/markdown/index.text">markdown的source</a> ，是很易明白的，就算沒有學過用markdown也不會看不明白。至於textile，則比較屬於深入的類型，因為可以定義不同的class、style，所以看上去的source還是很抽象，而且還有一些bug，例如不可以做到multi-paragraphs的blockquote，number list會錯，inline styling相對於double byte character無效等等，所以markdown還是比較好用。</p>

	<p>不過因為textpattern是用textile的，所以也就要習慣使用一下了，寫的時候的確要適應一下。</p>
	Tags:  <a href="http://jacky.seezone.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://jacky.seezone.net/tag/web/" title="web" rel="tag">web</a><br />

	<h3>相關文章</h3>
	<ul class="st-related-posts">
	<li><a href="http://jacky.seezone.net/2008/02/25/1959/" title="網絡隨想三則 (February 25, 2008)">網絡隨想三則</a> (10)</li>
	<li><a href="http://jacky.seezone.net/2005/08/29/1354/" title="驢子走上來了 (August 29, 2005)">驢子走上來了</a> (5)</li>
	<li><a href="http://jacky.seezone.net/2006/04/04/1601/" title="預告：明天不穿衣 (April 4, 2006)">預告：明天不穿衣</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2006/09/27/1716/" title="音樂下載庫？ (September 27, 2006)">音樂下載庫？</a> (19)</li>
	<li><a href="http://jacky.seezone.net/2010/06/03/2936/" title="電腦生命天演論 (June 3, 2010)">電腦生命天演論</a> (2)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://jacky.seezone.net/2004/10/06/1012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>停留的Web Standard (2)</title>
		<link>http://jacky.seezone.net/2004/10/05/1009/</link>
		<comments>http://jacky.seezone.net/2004/10/05/1009/#comments</comments>
		<pubDate>Tue, 05 Oct 2004 02:04:39 +0000</pubDate>
		<dc:creator>Jacky</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[web-standard]]></category>

		<guid isPermaLink="false">http://jacky.seezone.net/?p=1009</guid>
		<description><![CDATA[好久之前，我就寫過一篇 停留的Web Standard ，昨天晚上，逛newsgroup看到這麼的一個問題： 問： 這一句&#60;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/html4/loose.dtd&#8221;&#62;有什麼用的？ 答：沒有用的，只是說明用哪一種格式的html，可以不寫。 分別當然是有的，browser會根據doctype而執行不同rendering mode，後來也有人指出來了。 如果到現在，大家連doctype declaration都不理的話，那麼軟件的支持似乎也是白費氣力。我估計問的人是用dreamweaver開了一個新文件，而在source code裏有這種所以才問吧！就昨晚所逛而言，網頁的問題還是停留在如何弄這弄那，卻沒有看過有關web standards的問題，用css做排版相信也只是一小攝(香港)人會追隨吧？ 正當 IE 為了力戰 Firefox 而重組開發團隊，正當 Microsoft 本身也為了本身的網站做了瘦身療程，正當 yahoo! 也轉為css layout(看不到？用火狐再試一下)，正當Standards越來越受重視的時候，我們似乎還是在問某某Javascript要什樣可以做到什麼什麼&#8230;. Tags: browser, css, firefox, html, ie, web-standard 相關文章 網頁進化 (2) 痛改前非? (0) 新ie只限xp (1) 擁抱標準，擁抱未來 (0) Get list on Google (1)]]></description>
			<content:encoded><![CDATA[	<p>好久之前，我就寫過一篇 <a href="http://jacky.seezone.net/archives/000112.html">停留的Web Standard</a> ，昨天晚上，逛newsgroup看到這麼的一個問題：</p>

 <blockquote> 

	<p>問： 這一句&lt;!DOCTYPE <span class="caps">HTML</span> <span class="caps">PUBLIC</span> &#8220;-//W3C//DTD <span class="caps">HTML</span> 4.01 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/html4/loose.dtd&#8221;&gt;有什麼用的？<br />
答：沒有用的，只是說明用哪一種格式的html，可以不寫。</p>

 </blockquote>

	<p>分別當然是有的，browser會根據doctype而執行不同rendering mode，後來也有人指出來了。</p>

	<p>如果到現在，大家連doctype declaration都不理的話，那麼軟件的支持似乎也是白費氣力。我估計問的人是用dreamweaver開了一個新文件，而在source code裏有這種所以才問吧！就昨晚所逛而言，網頁的問題還是停留在如何弄這弄那，卻沒有看過有關web standards的問題，用css做排版相信也只是一小攝(香港)人會追隨吧？</p>

	<p>正當 <a href="http://www.microsoft.com/windows/ie/default.mspx">IE</a> 為了力戰  <a href="http://spreadfirefox.com">Firefox</a> 而重組開發團隊，正當  <a href="http://www.microsoft.com">Microsoft</a> 本身也為了本身的網站做了瘦身療程，正當 <a href="http://www.yahoo.com/?r=1096943926">yahoo!</a> 也轉為css layout(看不到？用火狐再試一下)，正當Standards越來越受重視的時候，我們似乎還是在問某某Javascript要什樣可以做到什麼什麼&#8230;.</p>
	Tags:  <a href="http://jacky.seezone.net/tag/browser/" title="browser" rel="tag">browser</a>, <a href="http://jacky.seezone.net/tag/css/" title="css" rel="tag">css</a>, <a href="http://jacky.seezone.net/tag/firefox/" title="firefox" rel="tag">firefox</a>, <a href="http://jacky.seezone.net/tag/html/" title="html" rel="tag">html</a>, <a href="http://jacky.seezone.net/tag/ie/" title="ie" rel="tag">ie</a>, <a href="http://jacky.seezone.net/tag/web-standard/" title="web-standard" rel="tag">web-standard</a><br />

	<h3>相關文章</h3>
	<ul class="st-related-posts">
	<li><a href="http://jacky.seezone.net/2005/06/11/1269/" title="網頁進化 (June 11, 2005)">網頁進化</a> (2)</li>
	<li><a href="http://jacky.seezone.net/2005/07/06/1297/" title="痛改前非? (July 6, 2005)">痛改前非?</a> (0)</li>
	<li><a href="http://jacky.seezone.net/2004/09/24/1006/" title="新ie只限xp (September 24, 2004)">新ie只限xp</a> (1)</li>
	<li><a href="http://jacky.seezone.net/2005/04/30/1220/" title="擁抱標準，擁抱未來 (April 30, 2005)">擁抱標準，擁抱未來</a> (0)</li>
	<li><a href="http://jacky.seezone.net/2004/10/16/1021/" title="Get list on Google (October 16, 2004)">Get list on Google</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://jacky.seezone.net/2004/10/05/1009/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
