<?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>DreamIdea &#187; 未分类</title>
	<atom:link href="http://www.dreamidea.net/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dreamidea.net</link>
	<description></description>
	<lastBuildDate>Tue, 12 Apr 2011 13:58:06 +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>拍照纪念，开始使用IMac的日子</title>
		<link>http://www.dreamidea.net/uncategorized/start_imac</link>
		<comments>http://www.dreamidea.net/uncategorized/start_imac#comments</comments>
		<pubDate>Sun, 25 Apr 2010 15:32:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分类]]></category>
		<category><![CDATA[imac]]></category>
		<category><![CDATA[苹果]]></category>

		<guid isPermaLink="false">http://www.dreamidea.net/?p=105</guid>
		<description><![CDATA[<a href="http://www.dreamidea.net/uncategorized/start_imac" title="拍照纪念，开始使用IMac的日子"></a>经过漫长的等待，公司里的IMac终于到了。 接到同事的短信，抑制不住心中的激动，当晚跑去体验了一番（还好家住的离公司比较近）。 想当年为了使用苹果系统，硬在PC机上装Mac真是痛苦的经历。 到了公司，可惜原本苹果电脑上装的是Windows，买Mac装XP真的是一种“奢侈”的行为。 但是放在桌面上的苹果电脑，依旧是很有质感。 除此之外还有一台“极品”的19寸Macbook Pro，也发上来晒晒。 紧接着当然是给苹果换回苹果系统，想装雪豹。 由于这两台IMac并非新机，而且系统盘也没有，所以网上Down了一个镜像刻到硬盘上。 竟然无法安装，最后发现下载的是随机版的系统，只有零售版可以安装多台机子，一个镜像6G多又要重新下载，所以也挺折腾的。 希望大家以后安装苹果系统时注意这一点。 最后，苹果的产品真的很不错，随着IPhone，IPad，IPod这些优秀产品的出现，苹果封闭的模式慢慢会体现出优势来。 对于一个开发者，为了开发苹果的应用，你不得不购买一台苹果电脑，或许只有苹果才有这种信心设立这样的门槛。 但当你真的用了苹果电脑后，或许你会真的喜欢上苹果。]]></description>
			<content:encoded><![CDATA[<a href="http://www.dreamidea.net/uncategorized/start_imac" title="拍照纪念，开始使用IMac的日子"></a><p>经过漫长的等待，公司里的IMac终于到了。</p>
<p>接到同事的短信，抑制不住心中的激动，当晚跑去体验了一番（还好家住的离公司比较近）。</p>
<p>想当年为了使用苹果系统，硬在PC机上装Mac真是痛苦的经历。</p>
<p>到了公司，可惜原本苹果电脑上装的是Windows，买Mac装XP真的是一种“奢侈”的行为。</p>
<p>但是放在桌面上的苹果电脑，依旧是很有质感。</p>
<p style="text-align: center;"><a href="http://www.dreamidea.net/wp-content/uploads/2010/04/20100425051.jpg"><img class="size-medium wp-image-111    aligncenter" title="20100425051" src="http://www.dreamidea.net/wp-content/uploads/2010/04/20100425051-225x300.jpg" alt="" width="225" height="300" /></a></p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://www.dreamidea.net/wp-content/uploads/2010/04/20100425050.jpg"><img class="size-medium wp-image-106     aligncenter" title="IMac" src="http://www.dreamidea.net/wp-content/uploads/2010/04/20100425050-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p style="text-align: left;">
<p style="text-align: left;">除此之外还有一台“极品”的19寸Macbook Pro，也发上来晒晒。</p>
<p style="text-align: left;">
<a href="http://www.dreamidea.net/wp-content/uploads/2010/04/20100425042.jpg"><img class="size-medium wp-image-115  aligncenter" title="20100425042" src="http://www.dreamidea.net/wp-content/uploads/2010/04/20100425042-300x225.jpg" alt="" width="300" height="225" /></a><br />
<a href="http://www.dreamidea.net/wp-content/uploads/2010/04/20100425042.jpg"></a><a href="http://www.dreamidea.net/wp-content/uploads/2010/04/20100425040.jpg"><img class="size-medium wp-image-116 aligncenter" title="20100425040" src="http://www.dreamidea.net/wp-content/uploads/2010/04/20100425040-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p style="text-align: left;">紧接着当然是给苹果换回苹果系统，想装雪豹。</p>
<p style="text-align: left;">由于这两台IMac并非新机，而且系统盘也没有，所以网上Down了一个镜像刻到硬盘上。</p>
<p style="text-align: left;">竟然无法安装，最后发现下载的是随机版的系统，只有零售版可以安装多台机子，一个镜像6G多又要重新下载，所以也挺折腾的。</p>
<p style="text-align: left;">希望大家以后安装苹果系统时注意这一点。</p>
<p style="text-align: left;">最后，苹果的产品真的很不错，随着IPhone，IPad，IPod这些优秀产品的出现，苹果封闭的模式慢慢会体现出优势来。</p>
<p style="text-align: left;">对于一个开发者，为了开发苹果的应用，你不得不购买一台苹果电脑，或许只有苹果才有这种信心设立这样的门槛。</p>
<p style="text-align: left;">但当你真的用了苹果电脑后，或许你会真的喜欢上苹果。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dreamidea.net/uncategorized/start_imac/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>不可忽视的DocType</title>
		<link>http://www.dreamidea.net/uncategorized/important_doctype</link>
		<comments>http://www.dreamidea.net/uncategorized/important_doctype#comments</comments>
		<pubDate>Wed, 03 Feb 2010 06:04:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://www.dreamidea.net/?p=91</guid>
		<description><![CDATA[<a href="http://www.dreamidea.net/uncategorized/important_doctype" title="不可忽视的DocType"></a>1. doctype是什么 doctype标签 用来指定document的dtd(Document Type Definition)的，写在每个html的最前面，形如： &#60;!DOCTYPE RootElement Availability “URI” [declarations]&#62; 如几种常见的doctype: HTML 4.01: Strict&#60;!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”&#62; HTML 4.01 Transitional&#60;!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”&#62; XHTML 1.1 Strict DTD&#60;!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1 &#8230;<p class="read-more"><a href="http://www.dreamidea.net/uncategorized/important_doctype">继续阅读 &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.dreamidea.net/uncategorized/important_doctype" title="不可忽视的DocType"></a><h3><strong>1. doctype是什么</strong></h3>
<p>doctype标签 用来指定document的<a href="http://www.w3schools.com/dtd/default.asp" target="_blank">dtd</a>(Document Type  Definition)的，写在每个html的最前面，形如：</p>
<p><em> &lt;!DOCTYPE  RootElement Availability “</em><em>URI” [</em><em>declarations]&gt;</em></p>
<p>如几种常见的doctype:</p>
<ul>
<li>HTML 4.01: Strict&lt;!DOCTYPE HTML PUBLIC  “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”&gt;</li>
<li>HTML 4.01 Transitional&lt;!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01  Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”&gt;</li>
<li>XHTML 1.1 Strict DTD&lt;!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1  Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt;</li>
</ul>
<h3><strong>2. doctype能做什么</strong></h3>
<p>有没有指定doctype,  以及指定不同的doctype都会激活不同的浏览器模式，从而产生对一些对html，css和js的影响，其中最著名的就是所谓的盒模型问题。</p>
<h4>2.1   为什么会有多种模式</h4>
<p>在很久很久以前还是netscape和ie争霸天下的时代，由于太强大了，浏览器模式是由浏览器自己说了算的。时光流逝，转眼到了战国群雄的时 代，大家发现如果都自己说了算的话天下就乱套了，就商量说推举个盟主吧，于是w3c就上台了。但是问题又来了，譬如IE，虽说再不能一头独大，向标准看齐 是大势所趋，但是假如浏览器只支持标准的话，之前的许多页面又会产生一些问题。</p>
<p>于是doctype应运而生，假如没有指定任何doctype，就采用原先的模式，被称为怪癖模式(Quirks  Mode)，假如指定了doctype，就遵循标准，被称为标准模式或严格模式(Standards  Mode)。期间，以Mozilla为代表的几位，觉得标准模式里诸如img的解析不是很合适，就保留了一些个人意见，在指定一些特定的doctype情 况下，会采用一种准标准模式(Almost Standards Mode)，具体情况请参考<a href="http://hsivonen.iki.fi/doctype/" target="_blank">Activating Browser Modes with  Doctype</a>，或译文<a title="到《用doctype激活浏览器模式》的永久链接" rel="bookmark" href="http://dancewithnet.com/2009/06/14/activating-browser-modes-with-doctype/" target="_blank">用doctype激活浏览器模式</a>。</p>
<h4>2.2   不同模式的具体影响</h4>
<p>ppk大牛已经给我们 做了很好的总结，<a href="http://www.quirksmode.org/css/quirksmode.html" target="_blank">Quirks mode and  strict mode</a>。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dreamidea.net/uncategorized/important_doctype/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

