<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/rss.xsl" type="text/xsl" media="screen"?>
<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:ppp="http://blog.sohu.com/rss/module/ppp/"
	>

	<channel>
		<title>晨飞--迅速起飞之路</title>
		<link>http://xiaocaochenfei.blog.sohu.com/</link>
		<description><![CDATA[标准建站,CSS布局,网站优化,web标准教程, css布局, xhtml, css,xhtml+css]]></description>
		<pubDate>Fri, 13 Jun 2008 10:25:44 +0800</pubDate>
		<generator>搜狐博客</generator>
		<ppp:ebi>cd4c007792</ppp:ebi>
		<image>
			<title>http://blog.sohu.com</title>
			<url>http://js.pp.sohu.com/ppp/blog/images/common/logo_150_60.gif</url>
			<link>http://blog.sohu.com/</link>
			<width>100</width>
			<height>43</height>
			<description>搜狐博客</description>
		</image>
		<item>
			<title>防止页面文字跳动的方法</title>
			<link>http://xiaocaochenfei.blog.sohu.com/89978173.html</link>
			<comments>http://xiaocaochenfei.blog.sohu.com/89978173.html#comment</comments>
			<dc:creator>晨飞--迅速起飞之路</dc:creator>
			<pubDate>Fri, 13 Jun 2008 10:25:44 +0800</pubDate>
			<category>XHTML CSS</category>
			<guid>http://xiaocaochenfei.blog.sohu.com/89978173.html</guid>
			<description><![CDATA[<p>通常页面在换着看的时候文字总是来回跳,这一点让我很烦感,所以就抽空研究了一下,,还真有方法可以避免这种问题，方法如下：</p>
<p>英文 lang=&quot;en-US&quot;</p>
<p>字体大小&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 行高</p>
<p>1~5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +3<br />6~8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +4<br />9~13&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +5<br />14~17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +6<br />18~98&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +7<br />98~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +8</p>
<p><br />中文 lang=&quot;zh-CN&quot;</p>
<p>字体大小&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 行高</p>
<p>1~17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +5<br />18~24&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +6<br />&gt;=25的中文字体暂时没有找到方法统一浏览器的显示</p>]]></description>
		</item>
		    
		
		<item>
			<title>标准浏览器k中flash下边空白的解决方法</title>
			<link>http://xiaocaochenfei.blog.sohu.com/71733019.html</link>
			<comments>http://xiaocaochenfei.blog.sohu.com/71733019.html#comment</comments>
			<dc:creator>晨飞--迅速起飞之路</dc:creator>
			<pubDate>Tue, 27 Nov 2007 13:54:16 +0800</pubDate>
			<category>XHTML CSS</category>
			<guid>http://xiaocaochenfei.blog.sohu.com/71733019.html</guid>
			<description><![CDATA[<p>在标准浏览器中插入flash后，下面会有一定的默认空白：在ff为5px。opera中为3px...<br />而在IE里却没有</p>
<p>解决方法：1.&nbsp;object{display:block;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.object{vertical-align:top/text-top/middle/bottom;}</p>
<p>xhtml:</p>
<p><font style="BACKGROUND-COLOR: #cccccc">&lt;div class=&quot;obj&quot;&gt;<br />&nbsp;&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://images.sohu.com/cs/button/market/aoyun/5901051122.swf&quot; width=&quot;590&quot; height=&quot;105&quot;&gt;<br />&nbsp;&nbsp;&lt;param name=&quot;movie&quot; value=&quot;http://images.sohu.com/cs/button/market/aoyun/5901051122.swf&quot; /&gt;<br />&nbsp;&lt;/object&gt;<br />&lt;/div&gt;</font></p>
<p>css:</p>
<p><font style="BACKGROUND-COLOR: #cccccc">&lt;style type=&quot;text/css&quot;&gt;<br />&lt;!--<br />*{margin:0;padding:0;}<br />.obj{background:red;}<br />--&gt;<br />&lt;/style&gt;</font></p>
<p><img style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://119.img.pp.sohu.com/images/blog/2007/11/27/13/14/1171b94554e.jpg" border="0" /><font style="BACKGROUND-COLOR: #cccccc"></font></p>]]></description>
		</item>
		    
		
		<item>
			<title>IE6中设置最小宽度的三种方法</title>
			<link>http://xiaocaochenfei.blog.sohu.com/69176437.html</link>
			<comments>http://xiaocaochenfei.blog.sohu.com/69176437.html#comment</comments>
			<dc:creator>晨飞--迅速起飞之路</dc:creator>
			<pubDate>Fri, 2 Nov 2007 12:16:22 +0800</pubDate>
			<category>XHTML CSS</category>
			<guid>http://xiaocaochenfei.blog.sohu.com/69176437.html</guid>
			<description><![CDATA[方法一：<br /><br /><span style="background-color: rgb(204, 204, 204);">在这个div里面再加一个块级元素设置他的宽度为你想要的最小宽度，高度设置为0，外层div宽度设置为%以便在宽度大于你定的最小高度的时候自动变宽</span><br /><br />方法二:<br /><span style="background-color: rgb(204, 204, 204);">width:expression(document.body.clientWidth &lt; 600? &quot;600px&quot;: 
&quot;auto&quot; )</span><br /><span style="background-color: rgb(204, 204, 204);">600换成你想设置的最小宽度</span><br /><br />方法三：<br /><span style="background-color: rgb(204, 204, 204);">css:</span><br /><br /><span style="background-color: rgb(204, 204, 204);">#outer{width:80%;}</span><br /><span style="background-color: rgb(204, 204, 204);">#inner{margin-left:700px;float:right;}</span><br /><span style="background-color: rgb(204, 204, 204);">#content{margin-left:-700px;height:1px;position:relative;}</span><br /><br /><span style="background-color: rgb(204, 204, 204);">html:</span><br /><br /><span style="background-color: rgb(204, 204, 204);">&lt;div id=&quot;outer&quot;&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &lt;div id=&quot;inner&quot;&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;div id=&quot;content&quot;&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/div&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &lt;/div&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&lt;/div&gt;<br /><span style="color: rgb(255, 0, 0); background-color: rgb(255, 255, 255);">注：方法三中margin也可以变成border</span><br /></span>]]></description>
		</item>
		    
		
		<item>
			<title>左侧展开菜单js</title>
			<link>http://xiaocaochenfei.blog.sohu.com/69170349.html</link>
			<comments>http://xiaocaochenfei.blog.sohu.com/69170349.html#comment</comments>
			<dc:creator>晨飞--迅速起飞之路</dc:creator>
			<pubDate>Fri, 2 Nov 2007 10:58:26 +0800</pubDate>
			<category>javascript</category>
			<guid>http://xiaocaochenfei.blog.sohu.com/69170349.html</guid>
			<description><![CDATA[js:<br /><pre>&lt;<span>script</span><span> type</span>=<span>&quot;text/javascript&quot;</span>&gt;<br />&lt;!--//--&gt;&lt;![CDATA[//&gt;&lt;!--<br />startList = function() {<br /><br />if (document.getElementById) {<br />	navRoot = document.getElementById(&quot;nav&quot;);<br />	for (i=0; i&lt;navRoot.childNodes.length; i++) {<br />		node = navRoot.childNodes[i];<br />		if (node.nodeName==&quot;LI&quot;) {<br />		node.onclick=function() {<br />		<br />this.className = (this.className == &quot;on&quot;) ? &quot;off&quot; : &quot;on&quot;;<br /><br />			}<br />   		}<br />  	}<br /> }<br />}<br />window.onload=startList;<br />//--&gt;&lt;!]]&gt;<br />&lt;/<span>script</span>&gt;<br /><br />html:<br /><br />&lt;<span>ul</span><span> id</span>=<span>&quot;nav&quot;</span>&gt;<br />  &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Home &lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />  &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;About &amp;<span>gt;</span>&lt;/<span>a</span>&gt; <br />    &lt;<span>ul</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;History &lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Team &lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Offices &lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />    &lt;/<span>ul</span>&gt;<br />  &lt;/<span>li</span>&gt;<br />  &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Services &amp;<span>gt;</span>&lt;/<span>a</span>&gt; <br />    &lt;<span>ul</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Web Design &lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Internet Marketing &lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Hosting &lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Domain Names &lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Broadband &lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />    &lt;/<span>ul</span>&gt;<br />  &lt;/<span>li</span>&gt;<br />  &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Contact Us &amp;<span>gt;</span>&lt;/<span>a</span>&gt; <br />    &lt;<span>ul</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;United Kingdom&lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;France&lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;USA&lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />      &lt;<span>li</span>&gt;&lt;<span>a</span><span> href</span>=<span>&quot;#&quot;</span>&gt;Australia&lt;/<span>a</span>&gt;&lt;/<span>li</span>&gt;<br />    &lt;/<span>ul</span>&gt;<br />  &lt;/<span>li</span>&gt;<br />&lt;/<span>ul</span>&gt;<br /></pre><br />]]></description>
		</item>
		    
		
		<item>
			<title>下拉菜单js</title>
			<link>http://xiaocaochenfei.blog.sohu.com/69170251.html</link>
			<comments>http://xiaocaochenfei.blog.sohu.com/69170251.html#comment</comments>
			<dc:creator>晨飞--迅速起飞之路</dc:creator>
			<pubDate>Fri, 2 Nov 2007 10:59:39 +0800</pubDate>
			<category>javascript</category>
			<guid>http://xiaocaochenfei.blog.sohu.com/69170251.html</guid>
			<description><![CDATA[js:<br /><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&lt;</span><span style="background-color: rgb(204, 204, 204);">script</span><span style="background-color: rgb(204, 204, 204);"> type</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;text/javascript&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;!--//--&gt;&lt;![CDATA[//&gt;&lt;!--<br /></span><span style="background-color: rgb(204, 204, 204);">sfHover = function() {</span><span style="background-color: rgb(204, 204, 204);">	var sfEls = document.getElementById(&quot;nav&quot;).getElementsByTagName(&quot;LI&quot;);</span><span style="background-color: rgb(204, 204, 204);">	for (var i=0; i&lt;sfEls.length; i++) {</span><span style="background-color: rgb(204, 204, 204);">		sfEls[i].onmouseover=function() {</span><span style="background-color: rgb(204, 204, 204);">			this.className+=&quot; over&quot;;</span><span style="background-color: rgb(204, 204, 204);">		}</span><span style="background-color: rgb(204, 204, 204);">		sfEls[i].onmouseout=function() {</span><span style="background-color: rgb(204, 204, 204);">			this.className=this.className.replace(new RegExp(&quot; over\\b&quot;), &quot;&quot;);</span><span style="background-color: rgb(204, 204, 204);">		}</span><span style="background-color: rgb(204, 204, 204);">	}</span><span style="background-color: rgb(204, 204, 204);">}</span><span style="background-color: rgb(204, 204, 204);">if (window.attachEvent) window.attachEvent(&quot;onload&quot;, sfHover);</span><span style="background-color: rgb(204, 204, 204);">//--&gt;&lt;!]]&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">script</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><pre><br />html:<br /><br /><span style="background-color: rgb(204, 204, 204);">&lt;</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);"> id</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;nav&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">  &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Home&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">  &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;About&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt; </span><br /><span style="background-color: rgb(204, 204, 204);">    &lt;</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;History&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Team&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Offices&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">    &lt;/</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">  &lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">  &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Services&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt; </span><br /><span style="background-color: rgb(204, 204, 204);">    &lt;</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Web Design&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Internet Marketing&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;testing &gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt; </span><br /><span style="background-color: rgb(204, 204, 204);">        &lt;</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">          &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;test 1&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">          &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;test 2&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">          &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;test 3&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">          &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;testing &gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt; </span><br /><span style="background-color: rgb(204, 204, 204);">            &lt;</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">              &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;test 1&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">              &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;test 2&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">              &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;test 3&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">              &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;test 4&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">              &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;test 5&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">            &lt;/</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">          &lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">          &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;test 4&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">          &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;test 5&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">        &lt;/</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Hosting&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Domain Names&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Broadband&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">    &lt;/</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">  &lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">  &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Contact Us&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt; </span><br /><span style="background-color: rgb(204, 204, 204);">    &lt;</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;United Kingdom&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;France&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;USA&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">      &lt;</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);"> href</span><span style="background-color: rgb(204, 204, 204);">=</span><span style="background-color: rgb(204, 204, 204);">&quot;#&quot;</span><span style="background-color: rgb(204, 204, 204);">&gt;Australia&lt;/</span><span style="background-color: rgb(204, 204, 204);">a</span><span style="background-color: rgb(204, 204, 204);">&gt;&lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">    &lt;/</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">  &lt;/</span><span style="background-color: rgb(204, 204, 204);">li</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&lt;/</span><span style="background-color: rgb(204, 204, 204);">ul</span><span style="background-color: rgb(204, 204, 204);">&gt;</span><br /></pre>]]></description>
		</item>
		    
		
		<item>
			<title>未知总宽度的列表菜单水平居中---方法三(display:inline)</title>
			<link>http://xiaocaochenfei.blog.sohu.com/69085168.html</link>
			<comments>http://xiaocaochenfei.blog.sohu.com/69085168.html#comment</comments>
			<dc:creator>晨飞--迅速起飞之路</dc:creator>
			<pubDate>Thu, 1 Nov 2007 14:17:16 +0800</pubDate>
			<category>XHTML CSS</category>
			<guid>http://xiaocaochenfei.blog.sohu.com/69085168.html</guid>
			<description><![CDATA[css:<br /><br /><span style="background-color: rgb(204, 204, 204);">*{margin:0;padding:0;}</span><br /><span style="background-color: rgb(204, 204, 204);">.body_w{background:red;width:500px;text-align:center;}</span><br /><span style="background-color: rgb(204, 204, 204);">.body_w ul{list-style:none;}</span><br /><span style="background-color: rgb(204, 204, 204);">.body_w li{display:inline;line-height:25px;}</span><br /><span style="background-color: rgb(204, 204, 204);">.body_w a{text-decoration:none;color:#fff;padding:0 5px;background:#08c; border:1px solid #fff;margin:0;}</span><br /><span style="background-color: rgb(204, 204, 204);">.body_w a:hover{color:#000;background:#d4d4d4;}</span><br /><br />html:<br /><br /><span style="background-color: rgb(204, 204, 204);">&lt;div class=&quot;body_w&quot;&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &lt;ul&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Button 1&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Button 2's a bit longer&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Butt 3&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Button 4&lt;/a&gt;&lt;/li&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &lt;/ul&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&lt;/div&gt;</span><br /><img src="http://120.img.pp.sohu.com/images/blog/2007/11/1/14/5/116953ffd7e.jpg" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" border="0" /><span style="color: rgb(255, 0, 0);">注：兼容ie6.ie7.ff.opera。。其它浏览器没有测试过</span>]]></description>
		</item>
		    
		
		<item>
			<title>未知总宽度的列表菜单水平居中---方法二(浮动)</title>
			<link>http://xiaocaochenfei.blog.sohu.com/69083345.html</link>
			<comments>http://xiaocaochenfei.blog.sohu.com/69083345.html#comment</comments>
			<dc:creator>晨飞--迅速起飞之路</dc:creator>
			<pubDate>Thu, 1 Nov 2007 13:48:08 +0800</pubDate>
			<category>XHTML CSS</category>
			<guid>http://xiaocaochenfei.blog.sohu.com/69083345.html</guid>
			<description><![CDATA[css:<br /><br /><span style="background-color: rgb(204, 204, 204);">*{margin:0;padding:0;}</span><br /><span style="background-color: rgb(204, 204, 204);">.body_w{background:red;width:500px;display:table;}</span><br /><span style="background-color: rgb(204, 204, 204);">#buttons{float:left;position:relative;left:50%;text-align:left;}</span><br /><span style="background-color: rgb(204, 204, 204);">#buttons ul{list-style:none;position:relative;left:-50%;}</span><br /><span style="background-color: rgb(204, 204, 204);">#buttons li{float:left;position:relative;}</span><br /><span style="background-color: rgb(204, 204, 204);">#buttons a{text-decoration:none;display:block;color:#fff;padding:2px 5px; text-align:center;background:#08c; border:1px solid #fff;}</span><br /><span style="background-color: rgb(204, 204, 204);">#buttons a:hover{color:#000;background:#d4d4d4;}</span><br /><br />html:<br /><br /><span style="background-color: rgb(204, 204, 204);">&lt;div class=&quot;body_w&quot;&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &lt;div id=&quot;buttons&quot;&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;ul&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Button 1&lt;/a&gt;&lt;/li&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Button 2's a bit longer&lt;/a&gt;&lt;/li&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Butt 3&lt;/a&gt;&lt;/li&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Button 4&lt;/a&gt;&lt;/li&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/ul&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &lt;/div&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&lt;/div&gt;</span><br /><br /><img src="http://119.img.pp.sohu.com/images/blog/2007/11/1/13/16/1169529c73b.jpg" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" border="0" /><span style="color: rgb(255, 0, 0);">注：兼容ie6.ie7.ff.opera。。其它浏览器没有测试过</span><br />]]></description>
		</item>
		    
		
		<item>
			<title>用focus,active模拟onclick的图片浏览效果</title>
			<link>http://xiaocaochenfei.blog.sohu.com/68330684.html</link>
			<comments>http://xiaocaochenfei.blog.sohu.com/68330684.html#comment</comments>
			<dc:creator>晨飞--迅速起飞之路</dc:creator>
			<pubDate>Thu, 25 Oct 2007 11:37:20 +0800</pubDate>
			<category>XHTML CSS</category>
			<guid>http://xiaocaochenfei.blog.sohu.com/68330684.html</guid>
			<description><![CDATA[<font color="Red"> 注: onClick=&quot;return false;&quot;在这里是为了不让其跳转，，不影响整体效果<br />
1，2，3的图片是一样的<br /><br /><span style="color: rgb(0, 0, 0);">css:</span><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">*{margin:0;padding:0;}</span><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">a{text-decoration: none;font-size:12px;color:#fff;}</span><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">.body_w{width:500px;margin:0 auto;border:1px solid #ccc;height:600px;position:relative;}</span><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">.body_w ul{position:absolute;bottom:10px;left:200px;list-style:none;z-index:10;}</span><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">.body_w ul li{float:left;}</span><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">a,a:visited{display:block;width:20px;height:20px;;background:#000;text-align:center;line-height:20px;}</span><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">a img{visibility: hidden;border:1px solid #000;position:absolute;top:-520px;width:300px;display:block;left:-130px;padding:10px 20px;background:#ccc;z-index:100;}</span><br /><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">a:hover img{visibility: visible;cursor: default;}</span><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">a:hover,a:focus,a:active{background:#f00;}</span><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">a:focus,a:active{cursor: default;}</span><br /><span style="color: rgb(0, 0, 0); background-color: rgb(204, 204, 204);">a:focus img,a:active img{visibility: visible;cursor: default;}<br /><br /><span style="background-color: rgb(255, 255, 255);">html</span><br />&lt;div class=&quot;body_w&quot;&gt;<br />&nbsp;&nbsp;&nbsp; &lt;ul&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot; onClick=&quot;return false;&quot;&gt;1&lt;img src=&quot;http://case.blueidea.com/files/2007/10/23/work_46157_2750_20071023_091903_1393737.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;2&lt;img src=&quot;http://case.blueidea.com/files/2007/10/23/work_46157_2750_20071023_091905_3193970.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;3&lt;img src=&quot;http://case.blueidea.com/files/2007/10/23/work_46157_2750_20071023_092207_7534180.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;1&lt;img src=&quot;http://case.blueidea.com/files/2007/10/23/work_46157_2750_20071023_091903_1393737.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;2&lt;img src=&quot;http://case.blueidea.com/files/2007/10/23/work_46157_2750_20071023_091905_3193970.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;3&lt;img src=&quot;http://case.blueidea.com/files/2007/10/23/work_46157_2750_20071023_092207_7534180.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/a&gt;&lt;/li&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/ul&gt;<br />&lt;/div&gt;</span></font><img src="http://119.img.pp.sohu.com/images/blog/2007/10/25/11/7/1167091f24f.jpg" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" border="0" />]]></description>
		</item>
		    
		
		<item>
			<title>未知高度图片垂直局中</title>
			<link>http://xiaocaochenfei.blog.sohu.com/68122618.html</link>
			<comments>http://xiaocaochenfei.blog.sohu.com/68122618.html#comment</comments>
			<dc:creator>晨飞--迅速起飞之路</dc:creator>
			<pubDate>Tue, 23 Oct 2007 12:50:00 +0800</pubDate>
			<category>XHTML CSS</category>
			<guid>http://xiaocaochenfei.blog.sohu.com/68122618.html</guid>
			<description><![CDATA[<br />css:<br /><br /><span style="background-color: rgb(204, 204, 204);">*{margin:0;padding:0;font-size:12px;color:#fff;}</span><br /><span style="background-color: rgb(204, 204, 204);">.aa{width:600px;height:500px; background:#000;margin:0 auto;}</span><br /><span style="background-color: rgb(204, 204, 204);">#edge,#container{display:table-cell;*display:inline; zoom:1;text-align:center;vertical-align:middle;width:600px;} </span><br /><span style="background-color: rgb(204, 204, 204);">#edge{width:1px;margin-left:-1px;height:500px;}</span><br /><br />html:<br /><span style="background-color: rgb(204, 204, 204);">&lt;div class=&quot;aa&quot;&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;div id=&quot;edge&quot;&gt;&lt;/div&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;div id=&quot;container&quot;&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;img src=&quot;http://ikshow.com/demo/vertical-middle/1.jpg&quot; /&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;p&gt;无标题文档无标题文档无标题文档无标题文档无标题文档无标题文档&lt;/p&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;p&gt;无标题文档无标题文档无标题文档无标题文档无标题文档无标题文档&lt;/p&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;p&gt;无标题文档无标题文档无标题文档无标题文档无标题文档无标题文档&lt;/p&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;p&gt;无标题文档无标题文档无标题文档无标题文档无标题文档无标题文档&lt;/p&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;p&gt;无标题文档无标题文档无标题文档无标题文档无标题文档无标题文档&lt;/p&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;/div&gt;</span><br /><span style="background-color: rgb(204, 204, 204);">&nbsp;&nbsp;&nbsp; &lt;/div&gt;</span><br /><br />兼容：ie6.ie7.ff.opera.safari<br />注：根据http://www.cssplay.co.uk/menu/centered改编<br /><img src="http://120.img.pp.sohu.com/images/blog/2007/10/23/12/20/116667461f9.jpg" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" border="0" /><br />]]></description>
		</item>
		    
		
		<item>
			<title>无JS实现显示，隐藏lightbox</title>
			<link>http://xiaocaochenfei.blog.sohu.com/63420871.html</link>
			<comments>http://xiaocaochenfei.blog.sohu.com/63420871.html#comment</comments>
			<dc:creator>晨飞--迅速起飞之路</dc:creator>
			<pubDate>Mon, 10 Sep 2007 11:55:08 +0800</pubDate>
			<category>XHTML CSS</category>
			<guid>http://xiaocaochenfei.blog.sohu.com/63420871.html</guid>
			<description><![CDATA[&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />&lt;head&gt;<br />&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />&lt;title&gt;无JS实现显示，隐藏lightbox&lt;/title&gt;<br />&lt;style type=&quot;text/css&quot;&gt;<br />&lt;!--<br />*{margin:0;padding:0;}<br />body,html{height:100%;font-size:12px;}<br />.black_overlay{<br />&nbsp;&nbsp; &nbsp;display: none;<br />&nbsp;&nbsp; &nbsp;position: absolute;<br />&nbsp;&nbsp; &nbsp;top: 0%;<br />&nbsp;&nbsp; &nbsp;left: 0%;<br />&nbsp;&nbsp; &nbsp;width: 100%;<br />&nbsp;&nbsp; &nbsp;height: 100%;<br />&nbsp;&nbsp; &nbsp;background-color: black;<br />&nbsp;&nbsp; &nbsp;z-index:1001;<br />&nbsp;&nbsp; &nbsp;-moz-opacity: 0.8;<br />&nbsp;&nbsp; &nbsp;opacity:.80;<br />&nbsp;&nbsp; &nbsp;filter: alpha(opacity=80);<br />}<br />.white_content {<br />&nbsp;&nbsp; &nbsp;display: none;<br />&nbsp;&nbsp; &nbsp;position: absolute;<br />&nbsp;&nbsp; &nbsp;top: 25%;<br />&nbsp;&nbsp; &nbsp;left: 25%;<br />&nbsp;&nbsp; &nbsp;width: 50%;<br />&nbsp;&nbsp; &nbsp;height: 50%;<br />&nbsp;&nbsp; &nbsp;padding: 16px;<br />&nbsp;&nbsp; &nbsp;border: 16px solid orange;<br />&nbsp;&nbsp; &nbsp;background-color: white;<br />&nbsp;&nbsp; &nbsp;z-index:1002;<br />}<br />span{color:red;}<br />--&gt;<br />&lt;/style&gt;<br />&lt;/head&gt;<br /><br />&lt;body id=&quot;body&quot;&gt;<br />&lt;p&gt;这是主要内容.点击<br />&nbsp;&nbsp; &nbsp;&lt;a href = &quot;javascript:void(0)&quot; onclick = &quot;document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block';document.getElementById('body').style.overflow='hidden';&quot;&gt;这里&lt;/a&gt;显示隐藏层&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;<br />&nbsp;&nbsp; &nbsp;来自：http://www.emanueleferonato.com/2007/08/22/create-a-lightbox-effect-only-with-css-no-javascript-needed/&lt;br /&gt;<br />&nbsp;&nbsp; &nbsp;作者:Emanuele Feronato&lt;br /&gt;<br />&nbsp;&nbsp; &nbsp;&lt;span&gt;原文不兼容IE6。并且当内容的高度高于一屏的时候无法实现。经过修改已经可以现实.&lt;/span&gt;<br />&lt;/p&gt;<br />&lt;div id=&quot;fade&quot; class=&quot;black_overlay&quot;&gt;<br />&nbsp;&nbsp; &nbsp;&lt;div id=&quot;light&quot; class=&quot;white_content&quot;&gt;这是主要内容.<br />&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;a href = &quot;javascript:void(0)&quot; onclick = &quot;document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none';&quot;&gt;关闭&lt;/a&gt;<br />&nbsp;&nbsp; &nbsp;&lt;/div&gt;<br />&lt;/div&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;<br /><br />]]></description>
		</item>
		    
		
	</channel>
</rss>
