<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[Putaoshu's blog]]></title>
<link>http://www.putaoshu.com/blog/</link>
<description><![CDATA[关注互联网-关注前端开发]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[putaoshu@126.com(putaoshu)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>Putaoshu&#39;s blog</title>
	<url>http://www.putaoshu.com/blog/images/logos.gif</url>
	<link>http://www.putaoshu.com/blog/</link>
	<description>Putaoshu&#39;s blog</description>
</image>

			<item>
			<link>http://www.putaoshu.com/blog/article.asp?id=403</link>
			<title><![CDATA[把win7的任务栏放置在桌面左侧了]]></title>
			<author>putaoshu@126.com(putaoshu)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Thu,12 Jan 2012 15:16:20 +0800</pubDate>
			<guid>http://www.putaoshu.com/blog/default.asp?id=403</guid>
		<description><![CDATA[下午终于把win7的任务栏放置在桌面左侧了,这样加大了主屏幕的范围...<br/><br/>原来一直在最底部放着,曾经的曾经把任务栏放在左面过一段时间,但是感觉不习惯...<br/><br/>试用了一下午感觉非常爽啊,看来有些习惯还是得改,不改谈何提高呢?但改变之初应该非常痛苦,曾经已成习惯,熟悉新的习惯,痛苦,的确痛苦,痛苦过后就好了,更美好....]]></description>
		</item>
		
			<item>
			<link>http://www.putaoshu.com/blog/article.asp?id=402</link>
			<title><![CDATA[MiniCompressor css&amp;js文件合并压缩工具]]></title>
			<author>putaoshu@126.com(putaoshu)</author>
			<category><![CDATA[Tool]]></category>
			<pubDate>Sat,10 Dec 2011 11:41:58 +0800</pubDate>
			<guid>http://www.putaoshu.com/blog/default.asp?id=402</guid>
		<description><![CDATA[源码如下:(可直接保存为bat文件,在cmd下运行即可或者直接在微盘下载<a href="http://vdisk.weibo.com/s/1rSeO/1323488172" target="_blank" rel="external">http://vdisk.weibo.com/s/1rSeO/1323488172</a>)<br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.putaoshu.com/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent"><br/>::MiniCompressor css&amp;js文件合并压缩工具<br/>::简介:基于Yuicompressor,自定义文件列表,按列表顺序合并成一个文件,并对其压缩.<br/>::作者: 刘威 Email: putaoshu@126.com 更新时间: 2011-12-09<br/><br/>:::::::::::::::::::::::初始化:::::::::::::::::::::::<br/>::[设置项]文件列表(路径可任意指定如:C:\Users\pc\Desktop\c.js)<br/>set filesList= test2.js + test1.js <br/><br/>::[设置项]压缩文件类型js|css<br/>set fileType=js<br/><br/>::[设置项]合并后的文件名称<br/>set combineFileName=core<br/><br/>::[设置项]yuicompressor包路径<br/>set yuicompressorPath=D:\workspace\yuicompressor\yuicompressor-2.4.7.jar<br/><br/>:::::::::::::::::::::::DOS合并文件:::::::::::::::::::::::<br/>copy /b /y %filesList% %combineFileName%.%fileType%<br/><br/>:::::::::::::::::::::::yuicompressor命令 -v 调试模式:::::::::::::::::::::::<br/>java -jar %yuicompressorPath% --type %fileType% --charset utf-8 %combineFileName%.%fileType% -o %combineFileName%-min.%fileType%<br/><br/>:::::::::::::::::::::::其它:::::::::::::::::::::::<br/>::文件列表 for /f %%i in (dir.txt) do type %%i &gt;&gt; %combineFileName%<br/><br/>:::::::::::::::::::::::注意:::::::::::::::::::::::<br/>::需要安装JDK &gt;= 1.4,并设置环境变量JAVA_HOME路径如C:\Program Files\Java\jdk1.5.0_15<br/>::yuicompressor命令行参考<a href="http://developer.yahoo.com/yui/compressor/" target="_blank" rel="external">http://developer.yahoo.com/yui/compressor/</a>#using <br/>::yuicompressor下载地址<a href="http://yuilibrary.com/download/yuicompressor/" target="_blank" rel="external">http://yuilibrary.com/download/yuicompressor/</a><br/></div></div><br/><br/><img src="http://ww3.sinaimg.cn/large/627bf01dtw1dnxc9msfg1j.jpg" border="0" alt=""/>]]></description>
		</item>
		
			<item>
			<link>http://www.putaoshu.com/blog/article.asp?id=401</link>
			<title><![CDATA[Editplus搭配TBcompressor,一键压缩JS和CSS代码]]></title>
			<author>putaoshu@126.com(putaoshu)</author>
			<category><![CDATA[Tool]]></category>
			<pubDate>Tue,22 Nov 2011 14:52:34 +0800</pubDate>
			<guid>http://www.putaoshu.com/blog/default.asp?id=401</guid>
		<description><![CDATA[1.安装lifesinger的TBCompressor,他博客迁移到wordpress后,打不到原文了,参考<a target="_blank" href="http://yxgyh.iteye.com/blog/890938" rel="external">http://yxgyh.iteye.com/blog/890938</a> ,也一样.<br/><br/>2.配置editplus,如图:<br/><img src="http://ww1.sinaimg.cn/large/627bf01dtw1dncn67hnjxj.jpg" border="0" alt=""/><br/><br/>这样就可以在editplus上直接使用TBCompressor<br/>]]></description>
		</item>
		
			<item>
			<link>http://www.putaoshu.com/blog/article.asp?id=400</link>
			<title><![CDATA[IE6 CSS bug: position:relative变成了absolute]]></title>
			<author>putaoshu@126.com(putaoshu)</author>
			<category><![CDATA[CSS]]></category>
			<pubDate>Wed,30 Mar 2011 10:52:05 +0800</pubDate>
			<guid>http://www.putaoshu.com/blog/default.asp?id=400</guid>
		<description><![CDATA[BUG描述：<br/><br/>页面中块级元素用了position:relative,bottom=-1px等元素定位,会表现出postion:absolute的行为.<br/><br/><br/>解决方法：<br/><br/>方法1. 为此元素最外层父亲元素添加属性position:relative, 注意是最外层.<br/>方法2. 把此元素的position:relative变成默认的static定位,并通过margin-top等属性实现.<br/><br/>ps:IE6虽然很老了,但我们的产品还是有那么多用户在使用IE6,用户的选择并没有错,尊重用户,所以level1级别的bug对IE6是必须解决的,但页面效果类是渐进增强的,只给IE6最基本的视觉效果,所以还是那句话:要想体验更弦更酷的效果,请更新你的浏览器至IE8,IE9,FF,Chrome...]]></description>
		</item>
		
			<item>
			<link>http://www.putaoshu.com/blog/article.asp?id=398</link>
			<title><![CDATA[基于新浪微博API和Google Maps API 的微博广场地图开发]]></title>
			<author>putaoshu@126.com(putaoshu)</author>
			<category><![CDATA[JS]]></category>
			<pubDate>Mon,17 Jan 2011 18:20:35 +0800</pubDate>
			<guid>http://www.putaoshu.com/blog/default.asp?id=398</guid>
		<description><![CDATA[<a target="_blank" href="http://www.putaoshu.com/demo/weibo.html" rel="external">请点Demo</a><br/><br/><img src="http://i.imgur.com/cw6XM.png" border="0" alt=""/><br/>1.新浪微博API<br/>1.1.相关介绍<br/>官方首页<a href="http://open.t.sina.com.cn/" target="_blank" rel="external">http://open.t.sina.com.cn/</a><br/>微博开放平台是一个基于新浪微博客系统的开放的信息订阅、分享与交流平台。微博开放平台为您提供了海量的微博信息、粉丝关系、以及随时随地发生的信息裂变式传播渠道。<br/>1.2.申请App Key<br/>成功注册可为开发者，后台即有App Key<br/>1.3.API接口文档<br/>网址:<a href="http://open.t.sina.com.cn/wiki/index.php/Statuses/public_timeline" target="_blank" rel="external">http://open.t.sina.com.cn/wiki/index.php/Statuses/public_timeline</a><br/>statuses/public_timeline<br/>返回最新的20条公共微博。返回结果非完全实时，最长会缓存60秒 <br/>1.4核心程序<br/>$.ajax({<br/>&#160;&#160;&#160;&#160;type: &#34;get&#34;,<br/>&#160;&#160;&#160;&#160;url: &#34;<a href="http://api.t.sina.com.cn/statuses/public_timeline.json?source=1039614589" target="_blank" rel="external">http://api.t.sina.com.cn/statuses/public_timeline.json?source=1039614589</a>&#34;,<br/>&#160;&#160;&#160;&#160;dataType:&#34;jsonp&#34;,<br/>&#160;&#160;&#160;&#160;beforeSend: function(XMLHttpRequest){},<br/>&#160;&#160;&#160;&#160;success: function(data, textStatus){<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var i = 0;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;$.each(data,function(i) {<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var timeDefault = data[i].cr&#101;ated_at,time,timeDiff,date = new Date(),hours,minutes,seconds;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var weiboUrl= &#34;<a href="http://t.sina.com.cn/" target="_blank" rel="external">http://t.sina.com.cn/</a>&#34;,url;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;time = timeDefault.slice(11,20) ;//完整时间23:11:10<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;hours = -timeDefault.slice(11,13) + date.getHours();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;minutes = -timeDefault.slice(14,16) + date.getMinutes();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;seconds = -timeDefault.slice(17,19) + date.getSeconds();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var hoursDiff =&nbsp;&nbsp;hours + &#34;Hour&#34; ;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if (hours&lt;1) hoursDiff= &#34;&#34;;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if(minutes&gt;0) timeDiff = hoursDiff+ minutes+ &#34; Minutes Ago&#34;; <br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;url = (!data[i].user.domain.toString()) ? (weiboUrl + data[i].user.id.toString()) : (weiboUrl + data[i].user.domain.toString());&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;weiboLocale[i] = data[i].user.location;<br/><br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;weiboHtml[i] = &#34;&lt;div class=&#39;weiboList&#39;&gt;&#34;+<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#34;&lt;p class=&#39;weiboImg&#39;&gt;&#34;+&nbsp;&nbsp;&#34;&lt;a href=&#39;&#34;+ url + &#34;&#39;&#34;+ &#34;target=&#39;_blank&#39;&gt;&#34; +&#34;&lt;img src=&#34;+data[i].user.profile_image_url +&#34;&gt;&#34;+ &#34;&lt;/a&gt;&#34; +&#34;&lt;/p&gt;&#34;+<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#34;&lt;div class=&#39;weiboTxt&#39;&gt;&#34;+ <br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#34;&lt;p&gt;&#34;+ &#34;&lt;a href=&#39;&#34;+ url + &#34;&#39;&#34;+ &#34;target=&#39;_blank&#39;&gt;&#34; +data[i].user.name.toString()+ &#34;&lt;/a&gt;&#34; + &#34;:&#34; + data[i].text +&#34;&lt;/p&gt;&#34; <br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;+&#34;&lt;p class=&#39;ft&#39;&gt;&#34;+ timeDiff +&#34; &#34;+ data[i].source + &#34; &#34;+ data[i].user.location.toString() +&#34;&lt;/p&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;+ &#34;&lt;/div&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;+ &#34;&lt;/div&gt;&#34;;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;});&#160;&#160;&#160;&#160;<br/>&#160;&#160;&#160;&#160;},<br/>&#160;&#160;&#160;&#160;complete: function(XMLHttpRequest, textStatus){<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var k= 0;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;beginplaceSet = setInterval(function(){<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var local = weiboLocale[k];<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var html = weiboHtml[k];<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;placeSet(local,html); <br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;k++;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if (k&gt;weiboLocale.length-1) k=0;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;},dalay);<br/>&#160;&#160;&#160;&#160;},<br/>&#160;&#160;&#160;&#160;error: function(){alert(&#34;error&#34;);}<br/>});<br/><br/>2.Google Maps API <br/>2.1相关介绍<br/>Google 地图 API 是一种通过 JavaScript 将 Google 地图嵌入到您的网页的 API。<br/>2.2Google Maps API 密钥申请<br/><a href="http://code.google.com/intl/zh-CN/apis/maps/signup.html" target="_blank" rel="external">http://code.google.com/intl/zh-CN/apis/maps/signup.html</a><br/>2.3相关程序<br/>2.3.1初始化一下GMap<br/><br/>var map = new GMap2(document.getElementById(&#34;Gmap&#34;));&nbsp;&nbsp; &#160;&#160;&#160;&#160;<br/>function initMap(){&#160;&#160;&#160;&#160;<br/>&#160;&#160;&#160;&#160;map.setCenter(new GLatLng(39.9, 116.3), zoom);//初始化,于北京<br/>&#160;&#160;&#160;&#160;map.enableScrollWheelZoom();<br/>&#160;&#160;&#160;&#160;map.addControl(new GLargeMapControl());<br/>&#160;&#160;&#160;&#160;map.addControl(new GOverviewMapControl());//加载小地图<br/>&#160;&#160;&#160;&#160;map.addControl(new GScaleControl());&#160;&#160;&#160;&#160;//加载比例尺<br/>}<br/>2.3.2根据地点在map上标注出具体位置,并且把微博的内容在小窗口显示.<br/><br/>var localContent = local;<br/>var htmlContent = html;<br/>var geocoder = new GClientGeocoder();<br/>var response;<br/>geocoder.getLocations(localContent, function(response) {<br/>&#160;&#160;&#160;&#160; if (!response || response.Status.code != 200) {<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return false;<br/>&#160;&#160;&#160;&#160;}else{<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;place = response.Placemark[0];<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;point = new GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);&#160;&#160;&#160;&#160;//坐标<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;map.setCenter(point, zoom);<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;marker = new GMarker(point);//标记地图上的位置<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;//map.clearOverlays();//清除所有叠加层<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;map.addOverlay(marker);//增加新叠加层<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;map.removeOverlay(marker);//清除所有标记<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;marker.bindInfoWindowHtml(htmlContent,{maxWdith:100,noCloseOnClick:true});<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;marker.openInfoWindowHtml(htmlContent,{maxWdith:100,noCloseOnClick:true});<br/>&#160;&#160;&#160;&#160;}<br/>});<br/><br/>参考<br/>1.<a target="_blank" href="http://code.google.com/intl/zh-CN/apis/maps/documentation/javascri&#112;t/v2/reference.html" rel="external">Google 地图 API 参考</a><br/>2.<a target="_blank" href="http://www.codechina.org/doc/google/gmapapi/" rel="external">Google Maps API 2 文档</a><br/>3.<a target="_blank" href="http://www.<a href="http://www.cnblogs.com/" target="_blank">cnblogs</a>.com/ttc/archive/2010/10/18/1854438.html" rel="external">Google Map API 应用实例说明</a><br/>4.<a target="_blank" href="http://open.t.sina.com.cn/wiki/index.php/API%E6%96%87%E6%A1%A3" rel="external">新浪微博API文档</a><br/>]]></description>
		</item>
		
			<item>
			<link>http://www.putaoshu.com/blog/article.asp?id=397</link>
			<title><![CDATA[2011,才刚开始]]></title>
			<author>putaoshu@126.com(putaoshu)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Mon,17 Jan 2011 18:15:01 +0800</pubDate>
			<guid>http://www.putaoshu.com/blog/default.asp?id=397</guid>
		<description><![CDATA[2010年过的好快,静悄悄的就过去了!<br/>回首下2010年的流水账(微博很给力,记不住的看看就晓得了)<br/><br/>交流会&gt;&gt;<br/>WEB标准化交流会从5月份到现在,8期了(163,taobao,360,QQ,sina,dangdang,sohu...坚持下去)<br/>W3C CEO演讲会(北航)<br/>webrebuild 第四届年会(北航)<br/>WEB标准化交流会一周年酒会(酷六)<br/>新浪微博开发者大会(国家会议中心)<br/><br/>工作&gt;&gt;<br/>面试新同事(虽然毕业时间不长)<br/>参加交流会,认识N多同行,非常感谢交流会的组织者<br/><br/>图书&gt;&gt;<br/>买的技术书:编写高质量代码_Web前端开发修炼之道、点石成金、应需而变---设计的力量、用户体验要素、<a href="http://jquery.com/" target="_blank">jQuery</a>基础教程(这些书要花很长时间理解的)<br/>买的杂书:杜拉拉升职记1,2、做有钱的自己-理财的、如何掌控自己的时间和生活、野火集-龙应台、仙人指路－徐小平、挪威的森林(少男少女看的,被骗了)<br/>借阅的:论语、菜根潭、酥油、苏菲的世界、巴黎没有摩天轮、背包十年、1988：我想和这个世界谈谈、青春-韩寒[盗版的,韩寒BLOG合集]、李鸿章(其实这些读的很快)<br/><br/>杂记&gt;&gt;<br/>十一参加发小婚礼(春节还有四个朋友结婚呐,还有华哥)<br/>在微博上给自己打的标签: 财经,跑步,宅男,80后,天秤男,UE,UI,Javascript,前端&nbsp;&nbsp;<br/>...<br/><br/>展望下2011,写点希望:<br/>1.加大js的开发力度,提高编程水平<br/>2.深化学习html5和css3]]></description>
		</item>
		
			<item>
			<link>http://www.putaoshu.com/blog/article.asp?id=396</link>
			<title><![CDATA[Ubuntu10.0下编译qt版webkit]]></title>
			<author>putaoshu@126.com(putaoshu)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Mon,17 Jan 2011 17:57:56 +0800</pubDate>
			<guid>http://www.putaoshu.com/blog/default.asp?id=396</guid>
		<description><![CDATA[Ubuntu10.0下编译qt版webkit<br/><br/>1.设定依赖库和头文件(root下)<br/>apt-get build-dep firefox<br/>apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev mesa-common-dev autoconf2.13 yasm<br/>这个很费时间,我大概用了一下午的时间才安排完毕<br/>参考文档:<a href="https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Linux_Prerequisites" target="_blank" rel="external">https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Linux_Prerequisites</a><br/><br/>2.下载webkit源码<br/>svn checkout <a href="http://svn.webkit.org/repository/webkit/trunk" target="_blank" rel="external">http://svn.webkit.org/repository/webkit/trunk</a> WebKit<br/>如果没有svn的用sudo apt-get subversion安装svn<br/><br/> 3.编译webkit<br/>./WebKit/WebKitTools/Scripts/build-webkit --qt<br/>编译成功之后，有如下信息：<br/>===========================================================<br/> WebKit is now built (1h:20m:37s). <br/> To run QtTestBrowser with this newly-built code, use the<br/> &#34;WebKit/WebKitTools/Scripts/run-launcher&#34; script.<br/>===========================================================<br/><br/>4.然后运行测试webkit<br/>WebKit/WebKitTools/Scripts/run-launcher --qt<br/>这样就显示一个界面简单的浏览器了,输入google测试下,如图<br/><img src="http://imgur.com/OhlcS.png" border="0" alt=""/><br/><br/>5.接下来,研究源代码!]]></description>
		</item>
		
			<item>
			<link>http://www.putaoshu.com/blog/article.asp?id=395</link>
			<title><![CDATA[第十四期Web标准化交流会分享-IE6的前世今生]]></title>
			<author>putaoshu@126.com(putaoshu)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Sat,27 Nov 2010 22:49:26 +0800</pubDate>
			<guid>http://www.putaoshu.com/blog/default.asp?id=395</guid>
		<description><![CDATA[<div id="__ss_5931416" style="width: 425px;"><strong style="display: block; margin: 12px 0pt 4px;"><a title="Ie6的前世今生" href="http://www.slideshare.net/putaoshu/ie6-5931416">Ie6的前世今生</a></strong><object width="425" height="355" id="__sse5931416">
<param value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=ie6-101127083532-phpapp02&amp;stripped_title=ie6-5931416&amp;userName=putaoshu" name="movie" />
<param value="true" name="allowFullScreen" />
<param value="always" name="allowScriptAccess" /><embed width="425" height="355" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=ie6-101127083532-phpapp02&amp;stripped_title=ie6-5931416&amp;userName=putaoshu" name="__sse5931416"></embed></object>
<div style="padding: 5px 0pt 12px;">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/putaoshu">putaoshu</a>.</div>
<div style="padding: 5px 0pt 12px;"><a href="http://www.putaoshu.com/demo/IE6的前世今生.pptx" target="_blank">点此直接下载</a></div>
</div>
<p>&nbsp;</p>]]></description>
		</item>
		
			<item>
			<link>http://www.putaoshu.com/blog/article.asp?id=394</link>
			<title><![CDATA[书写三个并排的li(normal,oocss,yui3)]]></title>
			<author>putaoshu@126.com(putaoshu)</author>
			<category><![CDATA[CSS]]></category>
			<pubDate>Thu,11 Nov 2010 23:01:09 +0800</pubDate>
			<guid>http://www.putaoshu.com/blog/default.asp?id=394</guid>
		<description><![CDATA[目标:书写三个并排的li<br/><br/><a target="_blank" href="http://www.putaoshu.com/blog/../demo/css-grids.html" rel="external">最终的Demo在此</a><br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.putaoshu.com/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">HTML:<br/>&lt;ul&gt;<br/>&#160;&#160;&#160;&#160;&lt;li&gt;li1&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&lt;li&gt;li2&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&lt;li&gt;li3&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&lt;li&gt;li4&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&lt;li&gt;li5&lt;/li&gt;<br/>&#160;&#160;&#160;&#160;&lt;li&gt;li6&lt;/li&gt;<br/>&lt;/ul&gt;<br/></div></div><br/>1.常见写法<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.putaoshu.com/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">CSS:<br/>ul{width:130px;}<br/>ul li{float:left;width:30px;margin-right:10px;}<br/></div></div>ul和li需要分别固定大小,仅一次使用,不能抽象出来.<br/><br/>2.<a target="_blank" href="https://github.com/stubbornella/oocss/blob/master/core/grid/grids.css" rel="external">oocss grids</a><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.putaoshu.com/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">HTML<br/>&lt;ul class=&#34;line&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li class=&#34;unit size1of3&#34;&gt;li1&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li class=&#34;unit size1of3&#34;&gt;li2&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li class=&#34;unit size1of3&#34;&gt;li3 no lastUnit&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br/>CSS<br/>.line:after,.lastUnit:after{clear:both;display:block;visibility:hidden;overflow:hidden;height:0 !important;line-height:0;font-size:xx-large;content:&#34;&#34;;} /*clearfix*/<br/>.line{*zoom:1;}<br/>.unit{float:left;}<br/>.size1of3{width:33.33333%;}<br/>.lastUnit{<br/>display:table-cell;float:none;width:auto;<br/>*display:block;*zoom:1;<br/>_position:relative;_left:-3px;_margin-right:-3px;/*for ie6*/<br/>}<br/></div></div>注:1).支持流动布局<br/>2).支持固定布局,宽度可随意定义<br/>3).lastUnit是针对ie6,ie7的超级必杀技<br/><br/>3.<a target="_blank" href="http://yuiblog.com/sandbox/yui/3.2.0pr1/build/cssgrids/grids.css" rel="external">yui3 grids</a><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.putaoshu.com/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">HTML<br/>&lt;ul class=&#34;yui3-g&#34;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li class=&#34;yui3-u-1-3&#34;&gt;li1&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li class=&#34;yui3-u-1-3&#34;&gt;li2&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li class=&#34;yui3-u-1-3&#34;&gt;li3&lt;/li&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;<br/>CSS<br/>.yui3-g {<br/>&nbsp;&nbsp;&nbsp;&nbsp;letter-spacing: -0.31em; /* webkit: collapse white-space between units */<br/>&nbsp;&nbsp;&nbsp;&nbsp;*letter-spacing: normal; /* reset IE &lt; 8 */<br/>&nbsp;&nbsp;&nbsp;&nbsp;word-spacing: -0.43em; /* IE &lt; 8 &amp;&amp; gecko: collapse white-space between units */<br/>}<br/>.yui3-u-1-3<br/>{<br/>&nbsp;&nbsp;&nbsp;&nbsp;display:inline-block;<br/>&nbsp;&nbsp;&nbsp;&nbsp;zoom: 1; *display: inline; /* IE &lt; 8: fake inline-block */<br/>&nbsp;&nbsp;&nbsp;&nbsp;letter-spacing:normal;word-spacing:normal;vertical-align:top;<br/>}<br/></div></div>注:1).width为100%时ie6,ie7下不支持<br/><br/>题外话:<br/>oocss和yui3是一直在研究的css frame,oocss和yui3关于css grids的写法很给力,也可见css的博大精深,非我辈之能及,继续追随中.]]></description>
		</item>
		
			<item>
			<link>http://www.putaoshu.com/blog/article.asp?id=393</link>
			<title><![CDATA[oocss display:table-cell在流动布局中的应用]]></title>
			<author>putaoshu@126.com(putaoshu)</author>
			<category><![CDATA[CSS]]></category>
			<pubDate>Thu,11 Nov 2010 21:40:23 +0800</pubDate>
			<guid>http://www.putaoshu.com/blog/default.asp?id=393</guid>
		<description><![CDATA[1.一般常用的流动布局是<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.putaoshu.com/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">左侧部分position:absolute;top:0px;left:0px;width:150px;<br/>主体的内容部分margin:0 200px 0 150px;<br/>右侧部分position:absolute;top:0px;right:0px;width:200px<br/></div></div>Demo:<a target="_blank" href="http://www.putaoshu.com/blog/../demo/3_col_layout.html" rel="external">3_col_layout</a><br/><br/>2.display:table-cell应用于流动布局<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><img src="http://www.putaoshu.com/blog/images/code.gif" style="margin:0px 2px -3px 0px" alt="程序代码"/> 程序代码</div><div class="UBBContent">左侧部分float:left;width:100px;<br/>主体的内容部分display:table-cell;<br/>右侧部分float:right;width:100px;<br/></div></div>Demo:<a target="_blank" href="http://www.putaoshu.com/blog/../demo/3_col_layout_oocss.html" rel="external">3_col_layout_oocss</a><br/><br/>注:在display:table-cell在w3c上相关解释:<br/><ul style="list-style-type:decimal"><li>display:table-cell (In HTML: TD, TH) Specifies that an element represents a table cell. (from--&gt;<a href="http://www.w3.org/TR/CSS2/tables.html" target="_blank" rel="external">http://www.w3.org/TR/CSS2/tables.html</a>#value-def-table-cell)<br/></li><li>For example, an image that is set to &#39;display: table-cell&#39; will fill the available cell space, and its dimensions might contribute towards the table sizing algorithms, as with an o&#114;dinary cell. (from--&gt;<a href="http://www.w3.org/TR/CSS2/tables.html" target="_blank" rel="external">http://www.w3.org/TR/CSS2/tables.html</a>)</li></ul>]]></description>
		</item>
		
</channel>
</rss>

