<?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>The Princess Diaries &#187; 分享</title>
	<atom:link href="http://onezhou.com/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://onezhou.com</link>
	<description>熊家的公主</description>
	<lastBuildDate>Mon, 12 Sep 2011 22:55:07 +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>防盗链的设置</title>
		<link>http://onezhou.com/2010/10/anti-theft-configuration/</link>
		<comments>http://onezhou.com/2010/10/anti-theft-configuration/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 14:35:46 +0000</pubDate>
		<dc:creator>Sue Zhou</dc:creator>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://onezhou.com/?p=969</guid>
		<description><![CDATA[闲来无事，.htaccess文件里设置了一个流行的防盗链，杜绝非法链接。
考虑到做一个禁止非法盗链太累，又没找到合适的如意的，于是选择了某熊的大头像。充分表达了对盗链的气愤及鄙视。

代码如下，但凡盗链中包含了图片、压缩包、应用程序，就会被取代为上面的大头：
<code>RewriteCond %{HTTP_R[......]</code><p class='read-more'><a href='http://onezhou.com/2010/10/anti-theft-configuration/'>阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>闲来无事，.htaccess文件里设置了一个流行的防盗链，杜绝非法链接。</p>
<p>考虑到做一个禁止非法盗链太累，又没找到合适的如意的，于是选择了某熊的大头像。充分表达了对盗链的气愤及鄙视。</p>
<p><img class="alignnone" title="sha" src="http://onezhou.com/sha.jpg" alt="" width="120" height="125" /></p>
<p>代码如下，但凡盗链中包含了图片、压缩包、应用程序，就会被取代为上面的大头：</p>
<p><code>RewriteCond %{HTTP_REFERER} !^$<br />
RewriteCond %{HTTP_REFERER} !onezhou\.com [NC]<br />
RewriteCond %{HTTP_REFERER} !liu-zhou\.net [NC]<br />
RewriteRule \.(jpg|jpeg|gif|png|bmp|rar|zip|exe)$ sha\.jpg [NC]</code></p>
<p>HTTP_REFERER：The website address (URL) from which the user followed a link to this location，验证是否外部提交。<br />
%{HTTP_REFERER} !^$：ensures that we don&#8217;t reject requests made directly for the image without a refer。<br />
NC： No Case，忽略大小写。</p>
<p>如果不愿转成其他图片，只是单纯的不想被显示，可把最后一行代码替换为：</p>
<p><code>RewriteRule \.(jpg|jpeg|gif|png|bmp|rar|zip|exe)$ - [F]</code></p>
<p>其中，-：indicates that no rewriting is to be done，表示无改写。<br />
F：Forbidden，禁止。</p>
<p>学了点皮毛，上来标记下。嘿嘿。</p>
]]></content:encoded>
			<wfw:commentRss>http://onezhou.com/2010/10/anti-theft-configuration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0</title>
		<link>http://onezhou.com/2010/06/wordpress-3-0/</link>
		<comments>http://onezhou.com/2010/06/wordpress-3-0/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 11:12:08 +0000</pubDate>
		<dc:creator>Sue Zhou</dc:creator>
				<category><![CDATA[分享]]></category>

		<guid isPermaLink="false">http://onezhou.com/?p=699</guid>
		<description><![CDATA[WordPress 3.0，本月16日正式出炉。升级后并没有什么耳目一新的感觉，但本着从2升到3的大版本号的变更，应该是闷骚着有了大变化。这两天正在琢磨细节，先贴两个图就算交差了。（点击看大图，小字看不大清）
theme改变还是挺大的，分的是越来越细了，现在还是很难说是好是坏。
<a href="http://onezhou.com/blog/wp-content/uploads/2010/06/Template_Hierarchy.png" target="_blank"></a>
数据库到是没有改太[......]<p class='read-more'><a href='http://onezhou.com/2010/06/wordpress-3-0/'>阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>WordPress 3.0，本月16日正式出炉。升级后并没有什么耳目一新的感觉，但本着从2升到3的大版本号的变更，应该是闷骚着有了大变化。这两天正在琢磨细节，先贴两个图就算交差了。（点击看大图，小字看不大清）</p>
<p>theme改变还是挺大的，分的是越来越细了，现在还是很难说是好是坏。</p>
<p><a href="http://onezhou.com/blog/wp-content/uploads/2010/06/Template_Hierarchy.png" target="_blank"><img class="alignnone size-full wp-image-700" title="Template_Hierarchy" src="http://onezhou.com/blog/wp-content/uploads/2010/06/Template_Hierarchy.png" alt="" width="1543" height="700" /></a></p>
<p>数据库到是没有改太多。</p>
<p><a href="http://onezhou.com/blog/wp-content/uploads/2010/06/WP3.0-ERD.png" target="_blank"><img class="alignnone size-full wp-image-701" title="WP3.0-ERD" src="http://onezhou.com/blog/wp-content/uploads/2010/06/WP3.0-ERD.png" alt="" width="1079" height="1089" /></a></p>
<p>新的默认主题twentyten还是挺强大的，含括了许多新特色，尤其是function.php，值得细细读一下，不原意慢慢爬Codex的筒子只少可以照抄不少了。</p>
<p>我整整一个月的闲暇时间都在和玛丽同学奋斗，实在没空写流水帐，本着这个月不留空的精神，特在烦忙的工作期间上来胡扯两句，不要拍砖，怕疼。</p>
]]></content:encoded>
			<wfw:commentRss>http://onezhou.com/2010/06/wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips of fixing IE6</title>
		<link>http://onezhou.com/2009/11/tips-of-fixing-ie6/</link>
		<comments>http://onezhou.com/2009/11/tips-of-fixing-ie6/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 13:09:40 +0000</pubDate>
		<dc:creator>Sue Zhou</dc:creator>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://onezhou.com/?p=625</guid>
		<description><![CDATA[最近两个项目由于客户的吹毛求疵和自己的强迫症并发而砸了整整两天时间在IE6的美化方面，时间没白费，经验教训皆有。以下分享的一些Tips纯属个人观点：
<strong>最好的PNG fix Javascript&#8212;- unitPngFix.js </strong>
官方网站 (<a href="http://labs.unitinteractive.com/unitpngfix.php" target="_blank">http://labs.unitinteract[......]</a><p class='read-more'><a href='http://onezhou.com/2009/11/tips-of-fixing-ie6/'>阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>最近两个项目由于客户的吹毛求疵和自己的强迫症并发而砸了整整两天时间在IE6的美化方面，时间没白费，经验教训皆有。以下分享的一些Tips纯属个人观点：</p>
<p><strong>最好的PNG fix Javascript&#8212;- unitPngFix.js </strong></p>
<p>官方网站 (<a href="http://labs.unitinteractive.com/unitpngfix.php" target="_blank">http://labs.unitinteractive.com/unitpngfix.php</a>)<br />
试过十多个不同版本的Png fix，各自的优缺点都很明显，推荐的这个版本至今依然在缓慢而持续的更新着。除了大家都会的修正&lt;img&gt;里的PNG图片，选用他家产品的几个主要理由为：</p>
<ol>
<li>修复PNG图片且不改变原有图片的尺寸，不会出现拉伸图片的情况</li>
<li>可修复PNG格式的背景图片（尽管对于重复属性的背景图片还是会有不同程度的bug，但已经可以简单的通过更改背景图片等简单方法解决）</li>
<li>可以全局修复，也可以仅修复指订图片（via class=&#8221;unitPng&#8221;)</li>
</ol>
<p><strong>最好用的字体替换程序 &#8212;- Cufón</strong></p>
<p>官方网站(<a href="http://cufon.shoqolate.com/generate/" target="_blank">http://cufon.shoqolate.com/generate/</a>)</p>
<p>我到今使用过三种字体替换程序：<a href="http://novemberborn.net/sifr3" target="_blank">sIFR</a>, <a href="http://facelift.mawhorter.net/" target="_blank">FLIR (Facelift image replacement)</a>, 和现在选择的<a href="http://cufon.shoqolate.com/generate/" target="_blank">Cufón</a>。下面是各程序的比较：</p>
<table border="1" cellspacing="0">
<tbody>
<tr>
<td></td>
<td><strong>sIFR</strong></td>
<td><strong>FLIR</strong></td>
<td><strong>Cufon</strong></td>
</tr>
<tr>
<td><strong>编写语言</strong></td>
<td valign="top">Flash, ActionScript, JavaScript</td>
<td valign="top">PHP, JavaScript</td>
<td valign="top">JavaScript</td>
</tr>
<tr>
<td><strong>替换</strong></td>
<td valign="top">生成swf文件</td>
<td valign="top">以单个字母为单位的图片，保存在服务器的cache文件夹内</td>
<td valign="top">以单词为单位的图片</td>
</tr>
<tr>
<td><strong>配置</strong></td>
<td valign="top">配置部分分为js config和css style两部分，用起来其实有点复杂</td>
<td valign="top">下载解压后乍一眼看去很复杂，有很多文件（夹），配置文件不难，但有些繁琐。</td>
<td valign="top">配置异常简单</td>
</tr>
<tr>
<td><strong>优点</strong></td>
<td valign="top">不需要独立的字体文件，支持font suitcase这类字体文件包</td>
<td valign="top">由于他是把整个字体文件上传到服务器中的，所以对于像中文这类字体文件较大的“大”字体的支持性较好。</td>
<td valign="top">文件小，配置简单，对IE6的天然支持性好</td>
</tr>
<tr>
<td><strong>缺点</strong></td>
<td valign="top">1） load页面时可以看到视觉上明显的字体替换过程──一个明显的页面跳跃。 2）不能直接读取CSS文件，需要在配置文件中另外设置。</td>
<td valign="top">1）如果替换的地方比较多会在服务器上生成一堆垃圾缓存图片，访问量如果大的话会占空间。2）生成的字体和原字体很近似，但是不相同，视觉上感觉比较“脆”，字母和字母之间的间距有的较正常略大。对于line-height等CSS属性的支持性还有待提高。</td>
<td valign="top">1）和unitPngFix的全局修复功能有冲突 2）目前只支持TTF，OTF类的单个字体文件，不支持字体包 3）对于中文这种字体文件过大的字体，上传生成JS过程会失败。</td>
</tr>
</tbody>
</table>
<p><strong>对于cufon和unitPngFix全局修复冲突的解决办法</strong></p>
<ul>
<li>对要在IE6中需要修复的图片或背景图片所在的容易中添加（class=&#8221;unitPng&#8221;）。</li>
<li>由于unitPngFix默认是全局修复，为了避免某一页面中没有需要修复的图片，在footer里（或者其他任何不显眼，不影响布局的地方）添加一张5px×5px左右大小的空白png图片，并添加（class=&#8221;unitPng&#8221;）。</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://onezhou.com/2009/11/tips-of-fixing-ie6/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Rounded corner for all browsers</title>
		<link>http://onezhou.com/2009/09/rounded-corner-for-all-browsers/</link>
		<comments>http://onezhou.com/2009/09/rounded-corner-for-all-browsers/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 10:38:37 +0000</pubDate>
		<dc:creator>Sue Zhou</dc:creator>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[rounded corner]]></category>

		<guid isPermaLink="false">http://onezhou.com/?p=508</guid>
		<description><![CDATA[In response to: <a rel="bookmark" href="../../2009/06/css3-rounded-corner/" target="_blank">css3之rounded corner</a>
Here is a simple example to create 5px radius rounded corner.
<strong>Image part:</strong>
corner images
for IE7 and above, using P[......]<p class='read-more'><a href='http://onezhou.com/2009/09/rounded-corner-for-all-browsers/'>阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>In response to: <a rel="bookmark" href="../../2009/06/css3-rounded-corner/" target="_blank">css3之rounded corner</a></p>
<p>Here is a simple example to create 5px radius rounded corner.</p>
<p><strong>Image part:</strong><br />
corner images<br />
for IE7 and above, using PNG images: corner-tl.png, corner-tr.png, corner-bl.png, corner-br.png<br />
for IE6, using non-PNG instead, or try using <a href="http://labs.unitinteractive.com/unitpngfix.php" target="_blank">Unit PNG Fix (unitpngfix.js)</a> to hack.</p>
<p><strong>HTML part:</strong></p>
<pre><code>&lt;div class="round"&gt;
	Massive content goes here.
&lt;/div&gt;</code></pre>
<p><strong>CSS part:</strong></p>
<pre><code>.round {
	padding:5px;
	background:#238427;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	*padding:0;
}

.wrap-tl {
	background: url(assets/corner_tl.png) top left no-repeat;
	_background: url(assets/corner_tl.gif) top left no-repeat;
}
.wrap-tr {
	background: url(assets/corner_tr.png) top right no-repeat;
	_background: url(assets/corner_tr.gif) top left no-repeat;
}
.wrap-bl {
	background: url(assets/corner_bl.png) bottom left no-repeat;
	_background: url(assets/corner_bl.gif) top left no-repeat;
}
.wrap-br {
	background: url(assets/corner_br.png) bottom right no-repeat;
	_background: url(assets/corner_br.gif) top left no-repeat;
	padding:5px;
}</code></pre>
<p><strong>jQuery part:</strong></p>
<pre><code>$(document).ready(function(){
	if($.browser.msie){
		$('.round').wrapInner('&lt;div class="wrap-tr"&gt;&lt;div class="wrap-tl"&gt;&lt;div class="wrap-bl"&gt;&lt;div class="wrap-br"&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;');
	}
});</code></pre>
<p>Ideally, the jQuery code will made the HTML code looks like the following in IEs.</p>
<pre><code>&lt;div class="round"&gt;
	&lt;div class="wrap-tr"&gt;
		&lt;div class="wrap-tl"&gt;
			&lt;div class="wrap-bl"&gt;
				&lt;div class="wrap-br"&gt;
					Massive content goes here.
				&lt;/div&gt;
			&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://onezhou.com/2009/09/rounded-corner-for-all-browsers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jQuery: Preset form</title>
		<link>http://onezhou.com/2009/07/jquery-preset-form/</link>
		<comments>http://onezhou.com/2009/07/jquery-preset-form/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 15:29:21 +0000</pubDate>
		<dc:creator>Sue Zhou</dc:creator>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://onezhou.com/?p=478</guid>
		<description><![CDATA[<code>$(document).ready(function() {
	formPreSet();
});

function formPreSet() {
	/* preset form element */
	$('form [type=text], form [type=password]').add[......]</code><p class='read-more'><a href='http://onezhou.com/2009/07/jquery-preset-form/'>阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<pre><code>$(document).ready(function() {
	formPreSet();
});

function formPreSet() {
	/* preset form element */
	$('form [type=text], form [type=password]').addClass('input');
	$('form textarea').addClass('input');
	$('form select').addClass('select');

	$('form [type=submit], form [type=button]').addClass('button');
	$('form [type=submit], form [type=button]').hover(
		function() {
			$(this).addClass('hover');
		},
		function() {
			$(this).removeClass('hover');
		}
	);
}</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://onezhou.com/2009/07/jquery-preset-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery image rollover effect</title>
		<link>http://onezhou.com/2009/07/jquery-image-rollover-effect/</link>
		<comments>http://onezhou.com/2009/07/jquery-image-rollover-effect/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 10:10:26 +0000</pubDate>
		<dc:creator>Sue Zhou</dc:creator>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://onezhou.com/?p=470</guid>
		<description><![CDATA[Instead of using onmouseover, onmouseout in each image, use the following function.
Remember to name the images in specific format.
<code>$("img.rollover").[......]</code><p class='read-more'><a href='http://onezhou.com/2009/07/jquery-image-rollover-effect/'>阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>Instead of using onmouseover, onmouseout in each image, use the following function.</p>
<p>Remember to name the images in specific format.</p>
<pre><code>$("img.rollover").hover(
	function() { $(this).attr("src", $(this).attr("src").split("_s.").join("_o.")); },
	function() { $(this).attr("src", $(this).attr("src").split("_o.").join("_s.")); }
);</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://onezhou.com/2009/07/jquery-image-rollover-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropbox</title>
		<link>http://onezhou.com/2009/07/dropbox/</link>
		<comments>http://onezhou.com/2009/07/dropbox/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 10:33:53 +0000</pubDate>
		<dc:creator>Sue Zhou</dc:creator>
				<category><![CDATA[分享]]></category>

		<guid isPermaLink="false">http://onezhou.com/?p=457</guid>
		<description><![CDATA[推荐个东东，<a href="https://www.getdropbox.com/" target="_blank">Dropbox</a>，一种结合网络和本地的共享文件夹，支持Windows和Mac，苹果下的支持似乎更漂亮自然一点。
免费用户给2G空间，支持单个共享文件夹的共享设置，对于各项操作有日志记载，适合小团体进行共享。
发现我不太会说中国话了……算了，用用就知道了。
地址：<a href="https://www.getdropbox.com/" target="_blank">https://www.ge[......]</a><p class='read-more'><a href='http://onezhou.com/2009/07/dropbox/'>阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>推荐个东东，<a href="https://www.getdropbox.com/" target="_blank">Dropbox</a>，一种结合网络和本地的共享文件夹，支持Windows和Mac，苹果下的支持似乎更漂亮自然一点。</p>
<p>免费用户给2G空间，支持单个共享文件夹的共享设置，对于各项操作有日志记载，适合小团体进行共享。</p>
<p>发现我不太会说中国话了……算了，用用就知道了。</p>
<p>地址：<a href="https://www.getdropbox.com/" target="_blank">https://www.getdropbox.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://onezhou.com/2009/07/dropbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>css3之rounded corner</title>
		<link>http://onezhou.com/2009/06/css3-rounded-corner/</link>
		<comments>http://onezhou.com/2009/06/css3-rounded-corner/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 11:48:31 +0000</pubDate>
		<dc:creator>Sue Zhou</dc:creator>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[border-radius]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[rounded corner]]></category>

		<guid isPermaLink="false">http://onezhou.com/?p=433</guid>
		<description><![CDATA[IE8正式版的发布只是证明了IE家族里又出了一个鸡肋。身为浏览器大家庭里占一定比重的一员，居然对CSS3还是我行我素的不支持，似乎MS已经不再在乎其浏览器市场份额逐年下跌了。
WordPress的2.8正式版的后台更漂亮点了，用户交互更亲和，虽然在2.7的基础上视觉效果改变不多，升级后突然心血来潮的[......]<p class='read-more'><a href='http://onezhou.com/2009/06/css3-rounded-corner/'>阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>IE8正式版的发布只是证明了IE家族里又出了一个鸡肋。身为浏览器大家庭里占一定比重的一员，居然对CSS3还是我行我素的不支持，似乎MS已经不再在乎其浏览器市场份额逐年下跌了。</p>
<p>WordPress的2.8正式版的后台更漂亮点了，用户交互更亲和，虽然在2.7的基础上视觉效果改变不多，升级后突然心血来潮的去IE下看了看效果，发现IE下还是比较难看，虽然还是实现了按钮等rollover的渐变背景效果，但是圆角就彻底被放弃了，IE下效果就是方方正正的一个个模块。想想也许这也不失是一个解决办法──与其花费大把的时间去让不听话的IE漂亮一点，还不如对IE的界面采取另一种相似的设计，丑是丑了点，但是引用我们单位Dave当时说过的一句话 “<strong>People who choose IE does not deserve better design.</strong> ”</p>
<p>言归正传，本篇的重点是总结一下在各浏览器下圆角的实现方法。现在许多乖浏览器如Firefox, Safari, Opera已经支持CSS3中的某些语句，特别是border-radius这一创造圆句的功能，太赞了，一句CSS代码就解决了头疼的问题，使用方法如下：<br />
<strong>CSS3 (not yet finalised)</strong></p>
<pre><code>border-top-right-radius
border-bottom-right-radius
border-bottom-left-radius
border-top-left-radius
border-radius</code></pre>
<p><strong>Mozilla equivalent</strong></p>
<pre><code>-moz-border-radius-topright
-moz-border-radius-bottomright
-moz-border-radius-bottomleft
-moz-border-radius-topleft
-moz-border-radius</code></pre>
<p><a href="http://onezhou.com/blog/wp-content/uploads/2009/06/moz-border-radius.gif" target="_blank"><img class="size-medium wp-image-436 alignnone" title="moz-border-radius" src="http://onezhou.com/blog/wp-content/uploads/2009/06/moz-border-radius-300x169.gif" alt="moz-border-radius" width="300" height="169" /></a></p>
<p><strong>WebKit equivalent</strong></p>
<pre><code>-webkit-border-top-right-radius
-webkit-border-bottom-right-radius
-webkit-border-bottom-left-radius
-webkit-border-top-left-radius
-webkit-border-radius</code></pre>
<p><a href="http://onezhou.com/blog/wp-content/uploads/2009/06/webkit-border-radius.gif"><img class="alignnone size-medium wp-image-437" title="webkit-border-radius" src="http://onezhou.com/blog/wp-content/uploads/2009/06/webkit-border-radius-300x180.gif" alt="webkit-border-radius" width="300" height="180" /></a></p>
<p><strong>Opera and KHTML browsers</strong></p>
<pre><code>-opera-border-radius
-khtml-border-radius</code></pre>
<p>由于IE家没有支持CSS3的，所以对于IE下的圆角要另外花功夫。主要用了CSS和png图片及container的嵌套（对IE6，由于其不支持png，各种hacker对png背景图片的处理也不是太理想，于是特别创建了一堆gif图片，不胜其烦），总结了一下代码如下：</p>
<p>（暂时不总结了，下回用到再说吧）</p>
<p>&#8212;&#8212;&#8212;</p>
<p>Reference: http://www.the-art-of-web.com/css/border-radius/</p>
]]></content:encoded>
			<wfw:commentRss>http://onezhou.com/2009/06/css3-rounded-corner/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>wordpress theme framework</title>
		<link>http://onezhou.com/2009/06/wordpress-theme-framework/</link>
		<comments>http://onezhou.com/2009/06/wordpress-theme-framework/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 11:22:32 +0000</pubDate>
		<dc:creator>Sue Zhou</dc:creator>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://onezhou.com/?p=419</guid>
		<description><![CDATA[最近一直在折腾Wordpress，一个星期了，开始厌倦了。
在找一个合适的主题，可是合适怎么定义却很空泛。看到一些很炫的主题又不是太如意，只有下载下来再改，去掉繁枝茂叶，留下个光秃秃的主干，辛苦调试完了后又突然不喜欢这个主题了，于是又推翻重来。
找了一个新的主题换上了，Coffee desk，笔记本[......]<p class='read-more'><a href='http://onezhou.com/2009/06/wordpress-theme-framework/'>阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>最近一直在折腾Wordpress，一个星期了，开始厌倦了。</p>
<p>在找一个合适的主题，可是合适怎么定义却很空泛。看到一些很炫的主题又不是太如意，只有下载下来再改，去掉繁枝茂叶，留下个光秃秃的主干，辛苦调试完了后又突然不喜欢这个主题了，于是又推翻重来。</p>
<p>找了一个新的主题换上了，Coffee desk，笔记本样式，属于一见钟情型的，看原作者的代码也很清爽，先用着，回头再微调一些，实在不想再从头改到尾了。</p>
<p>另外找到了一个wordpress theme framework，干净的模版，这样下次就不用那么累改代码了，就当是designer给了个设计和图片，自己写代码出来也许还更简单。</p>
<p><a href="http://plainbeta.com/2008/05/20/whiteboard-a-free-wordpress-theme-framework/" target="_blank">http://plainbeta.com/2008/05/20/whiteboard-a-free-wordpress-theme-framework/</a></p>
<p>下载地址：<a href="http://plainbeta.com/download/whiteboard.zip" target="_blank">http://plainbeta.com/download/whiteboard.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://onezhou.com/2009/06/wordpress-theme-framework/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Code Markup: a WordPress plugin</title>
		<link>http://onezhou.com/2009/06/code-markup-a-wordpress-plugin/</link>
		<comments>http://onezhou.com/2009/06/code-markup-a-wordpress-plugin/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 10:59:16 +0000</pubDate>
		<dc:creator>Sue Zhou</dc:creator>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://onezhou.com/?p=413</guid>
		<description><![CDATA[厌烦了贴代码时跟wordpress自动格式化没完没了的较劲，一遍又一遍的更新，然后去主页看效果。于是用了插件，简单明了。
不常贴代码，应该说也就是最近两天才开始贴的，这两天一直在温故知新和创新，主要是为了记录点啥备忘 。
插件很简单，在HTML模式下编辑。格式如下：
&#60;pre&#62;&#60;c[......]<p class='read-more'><a href='http://onezhou.com/2009/06/code-markup-a-wordpress-plugin/'>阅读全文</a></p>]]></description>
			<content:encoded><![CDATA[<p>厌烦了贴代码时跟wordpress自动格式化没完没了的较劲，一遍又一遍的更新，然后去主页看效果。于是用了插件，简单明了。</p>
<p>不常贴代码，应该说也就是最近两天才开始贴的，这两天一直在温故知新和创新，主要是为了记录点啥备忘 。</p>
<p>插件很简单，在HTML模式下编辑。格式如下：</p>
<p>&lt;pre&gt;&lt;code&gt;代码&lt;/code&gt;&lt;/pre&gt;</p>
<p>很简单，也正是我所要的。</p>
<p>链接：<a href="http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/" target="_blank">http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://onezhou.com/2009/06/code-markup-a-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

