<?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>MarsLau&#039;s Blog &#187; web前端</title>
	<atom:link href="http://marslau.com/archives/category/css/feed" rel="self" type="application/rss+xml" />
	<link>http://marslau.com</link>
	<description>Mars博客，记录路上的点滴（个人日记 设计 css wordpress seo）</description>
	<lastBuildDate>Sat, 31 Dec 2011 15:52:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>JavaScript：逐层分段显示内容，隐藏显示层</title>
		<link>http://marslau.com/archives/640.html</link>
		<comments>http://marslau.com/archives/640.html#comments</comments>
		<pubDate>Sun, 20 Jun 2010 10:52:08 +0000</pubDate>
		<dc:creator>Mars Lau</dc:creator>
				<category><![CDATA[web前端]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[世界杯]]></category>

		<guid isPermaLink="false">http://marslau.com/?p=640</guid>
		<description><![CDATA[最近用WordPress帮公司做了个新产品的网站，其中有些文章需要逐层分段显示和显示/隐藏层的简单效果，都用JavaScript将其实现，这里拿来分享一... <table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="2010最“臭”的一届世界杯" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F637.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F640.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106868.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">2010最“臭”的一届世界杯</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="南非世界杯小组赛中的血性铁人" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F652.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F640.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106632.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">南非世界杯小组赛中的血性铁人</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="校园原创歌曲推荐：Someday In the Future" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F415.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F640.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106921.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">校园原创歌曲推荐：Someday In the Future</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="N个牛逼的团队足球配合集锦" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F500.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F640.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106916.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">N个牛逼的团队足球配合集锦</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="股价图（Stock chart）" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F718.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F640.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106812.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">股价图（Stock chart）</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>最近用WordPress帮公司做了个新产品的网站，其中有些文章需要<strong>逐层分段显示</strong>和<strong>显示/隐藏层</strong>的简单效果，都用<strong>JavaScript</strong>将其实现，这里拿来分享一下，js高手可绕行。</p>
<h3>JavaScript实现逐层分段显示内容</h3>
<p><strong>JavaScript代码</strong></p>
<p><code>&lt;script language="javascript"&gt;<br />
var curr = 0;<br />
function $(id){<br />
return document.getElementById(id);<br />
}<br />
function showNextSection(){<br />
var currSec = $('sec_' + curr);<br />
var next = currSec.getAttribute('name');<br />
var nextSec = $('sec_' + next);<br />
if(nextSec){<br />
// 设置段落为可见<br />
nextSec.style.display = 'block';<br />
// 若为最后一个段落，则隐藏按钮<br />
if(nextSec.getAttribute('name') == null)<br />
$('nextButton').style.display = 'none';<br />
curr = next;<br />
}<br />
}<br />
&lt;/script&gt;</code></p>
<p><strong>HTML内容</strong></p>
<p><code>&lt;div id="sec_0" name="1" class="section"&gt;<br />
&lt;!-- 段落内容1 --&gt;<br />
第一场比赛&lt;br&gt; 荷兰 1 : 0 日本<br />
&lt;/div&gt;<br />
&lt;div id="sec_1" name="2" class="section init-hidden"&gt;<br />
&lt;!-- 段落内容2 --&gt;<br />
第二场比赛&lt;br&gt; 加纳 1 : 1 澳大利亚<br />
&lt;/div&gt;<br />
&lt;div id="sec_2" name="3" class="section init-hidden"&gt;<br />
&lt;!-- 段落内容3 --&gt;<br />
第三场比赛&lt;br&gt; 喀麦隆 1 : 2 丹麦<br />
&lt;/div&gt;<br />
&lt;div id="sec_3" class="section init-hidden"&gt;<br />
&lt;!-- 段落内容4 --&gt;<br />
最新比赛敬请期待......&lt;br&gt; 斯洛伐克 vs. 巴拉圭 - 6月20日 下午1:30<br />
&lt;/div&gt;<br />
&lt;a id="nextButton" onClick="showNextSection(); return false;" href="#"&gt;显示下一段&lt;/a&gt;</code></p>
<p><strong>CSS样式</strong><br />
<code>&lt;style type="text/css"&gt;<br />
.section{border:1px dotted #CCCCCC; margin-bottom:5px; padding:10px;}<br />
.init-hidden{ display:none; }<br />
#nextButton{ background:#FF0000; margin:5px; padding:5px; color:#FFFFFF<br />
&lt;/style&gt;</code></p>
<p><a title="js逐层分段显示内容" href="http://marslau.com/html/js/JavaScript-StepByStep.htm" target="_blank">效果预览</a> | 下载请网页另存为</p>
<h3>JavaScript实现隐藏显示层</h3>
<p><strong>JavaScript代码</strong></p>
<p><code>&lt;script language="javascript"&gt;<br />
function showwords()<br />
{<br />
if(document.getElementById("hidewords").style.display=="none")<br />
{document.getElementById("hidewords").style.display="";}<br />
else<br />
{document.getElementById("hidewords").style.display="none";}<br />
}<br />
&lt;/script&gt;</code></p>
<p><strong>HTML内容</strong></p>
<p><code>&lt;div id="hidewords" style="display:none; "&gt;<br />
斯洛伐克 vs. 巴拉圭 - 6月20日 下午1:30 &lt;br /&gt;<br />
意大利 vs. 新西兰 - 6月20日 下午4:00 &lt;br /&gt;<br />
巴西 vs. 科特迪瓦 - 6月20日 下午8:30<br />
&lt;/div&gt;<br />
&lt;a href="javascript:showwords()" id="button"&gt;点击显示/隐藏赛场 &lt;/a&gt;</code></p>
<p><a title="JavaScript实现隐藏显示层" href="http://marslau.com/html/js/JavaScript-ShowOrHide.html" target="_blank">效果预览</a> | 下载请网页另存为</p>
<ul class="related_post"><li>2010-06-27 -- <a href="http://marslau.com/archives/652.html" title="南非世界杯小组赛中的血性铁人">南非世界杯小组赛中的血性铁人</a> (11)</li><li>2010-06-12 -- <a href="http://marslau.com/archives/637.html" title="2010最“臭”的一届世界杯">2010最“臭”的一届世界杯</a> (6)</li></ul><hr />
<p><small>摘自：<a href="http://marslau.com">MarsLau&#039;s Blog</a> |
原文链接：<a href="http://marslau.com/archives/640.html">Permalink</a> |
<br/>
Tags: <a href="http://marslau.com/archives/tag/javascript" rel="tag">JavaScript</a>, <a href="http://marslau.com/archives/tag/js" rel="tag">js</a>, <a href="http://marslau.com/archives/tag/%e4%b8%96%e7%95%8c%e6%9d%af" rel="tag">世界杯</a><br/>
</small></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="2010最“臭”的一届世界杯" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F637.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F640.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106868.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">2010最“臭”的一届世界杯</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="南非世界杯小组赛中的血性铁人" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F652.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F640.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106632.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">南非世界杯小组赛中的血性铁人</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="回想去年毕业" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F82.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F640.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107000.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">回想去年毕业</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="产品包装" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F36.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F640.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107041.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">产品包装</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress插件推荐：WP-EasyArchives 以及月存档链接问题补充" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F361.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F640.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106943.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress插件推荐：WP-EasyArchives 以及月存档链接问题补充</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://marslau.com/archives/640.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>5个css布局的常见问题及解决方法</title>
		<link>http://marslau.com/archives/514.html</link>
		<comments>http://marslau.com/archives/514.html#comments</comments>
		<pubDate>Thu, 10 Sep 2009 05:49:12 +0000</pubDate>
		<dc:creator>Mars Lau</dc:creator>
				<category><![CDATA[web前端]]></category>
		<category><![CDATA[css布局]]></category>
		<category><![CDATA[CSS样式]]></category>
		<category><![CDATA[float]]></category>
		<category><![CDATA[浮动]]></category>

		<guid isPermaLink="false">http://marslau.com/?p=514</guid>
		<description><![CDATA[总结了5个关于css布局的常见问题，并附有解决方法：3像素问题，浮动层的错乱，float浮动导致双倍间距等... <table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS制作Tab菜单样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106849.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作Tab菜单样式</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS自适应宽度圆角按钮" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107012.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS自适应宽度圆角按钮</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="53种网页设计师必备的高级CSS技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107008.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">53种网页设计师必备的高级CSS技巧</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS制作图片弹出展示效果" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106993.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作图片弹出展示效果</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>总结了5个关于css布局的常见问题，并附有解决方法，供参考。</p>
<p><strong>float的3像素问题及解决办法</strong></p>
<p>当使用float浮动容器后，在IE6下会产生3px的空隙，有意思的是右侧容器没设置高度时3px在右侧容器内部，当设定高度后又跑到容器的左侧了，所以对布局精度要求高的话，可以在float浮动容器样式里加针对IE6的属性&#8221;_margin-right&#8221;和&#8221;*html&#8221;，如：</p>
<p class="code">#sidebar{ float:left; width:200px; _margin-right:-3px;}</p>
<p>或者</p>
<p class="code">#sidebar{ float:left; width:200px;}<br />
*html #sidebar{ margin-right:-3px;}</p>
<p><strong>上边容器浮动后，下边的容器跟着浮动，造成页面错乱</strong></p>
<p><img src="http://marslau.com/wp-content/uploads/2009/09/css_layout.png" alt="" width="314" height="287" /></p>
<p>如图中布局所示：footer必须要单独占一行，但当sidebar浮动后，content的高度小于sidebar的高度时，footer也跟着浮动到sidebar右侧了，造成页面错乱。解决办法是在maincontent和footer之间插入一个容器，设置样式<br />
clear:both; height:0; font-size: 1px; line-height: 0px;用clear:both清除，即可使页面正常</p>
<p><strong>IE6下float浮动导致双倍边距的bug</strong></p>
<p>当页面内有多个连续浮动时，如本页的图标列表是采用左浮动，此时设置li的左侧margin值时，在最左侧呈现双倍情况。如外边距设置为10px，而左侧则呈现出20px，解决它的方法是在浮动元素上加上display:inline;的样式，这样就可避免双倍边距bug</p>
<p><strong>当子元素浮动且未知高度时，怎么使父容器适应子元素的高度？</strong></p>
<p>这种情况可在父窗口加上 overflow:auto;zoom:1;这两个样式属性，overflow:auto;是让父容器来自适应内部容器的高度，zoom:1;是为了兼容IE6而使用的CSS<br />
HACK。zoom:1;通不过W3C的验证，这也是遗憾的一点，幸好IE支持&lt;!&#8211;[if IE]&gt;这种写法，可以专门针对IE来写单独的样式，所以可以把这个属性写在页面内的&lt;!&#8211;[if IE]&gt;中，这样应该可以通过验证了</p>
<p><strong>css布局的相对定位与绝对定位</strong></p>
<p>规划页面时，许多时候需要用到相对定位或绝对定位，这里边有个css技巧，掌握后有些地方就不用繁冗的js了。就是当父容器使用相对定位后，此时子元素再使用绝对定位，位置是相对于父元素。如果父元素没有定位，那么子元素的绝对定位是相对于浏览器</p>
<ul class="related_post"><li>2009-03-12 -- <a href="http://marslau.com/archives/330.html" title="WordPress主题RBcss发布">WordPress主题RBcss发布</a> (77)</li><li>2008-07-10 -- <a href="http://marslau.com/archives/83.html" title="CSS制作图片弹出展示效果">CSS制作图片弹出展示效果</a> (3)</li><li>2008-06-03 -- <a href="http://marslau.com/archives/69.html" title="CSS制作Tab菜单样式">CSS制作Tab菜单样式</a> (3)</li><li>2008-05-31 -- <a href="http://marslau.com/archives/68.html" title="CSS自适应宽度圆角按钮">CSS自适应宽度圆角按钮</a> (3)</li><li>2008-05-28 -- <a href="http://marslau.com/archives/66.html" title="53种网页设计师必备的高级CSS技巧">53种网页设计师必备的高级CSS技巧</a> (1)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/65.html" title="CSS定义网页滚动条">CSS定义网页滚动条</a> (0)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/63.html" title="用css给图片加阴影">用css给图片加阴影</a> (2)</li></ul><hr />
<p><small>摘自：<a href="http://marslau.com">MarsLau&#039;s Blog</a> |
原文链接：<a href="http://marslau.com/archives/514.html">Permalink</a> |
<br/>
Tags: <a href="http://marslau.com/archives/tag/css%e5%b8%83%e5%b1%80" rel="tag">css布局</a>, <a href="http://marslau.com/archives/tag/css%e6%a0%b7%e5%bc%8f" rel="tag">CSS样式</a>, <a href="http://marslau.com/archives/tag/float" rel="tag">float</a>, <a href="http://marslau.com/archives/tag/%e6%b5%ae%e5%8a%a8" rel="tag">浮动</a><br/>
</small></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS制作Tab菜单样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106849.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作Tab菜单样式</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS自适应宽度圆角按钮" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107012.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS自适应宽度圆角按钮</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="53种网页设计师必备的高级CSS技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107008.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">53种网页设计师必备的高级CSS技巧</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS制作图片弹出展示效果" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106993.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作图片弹出展示效果</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://marslau.com/archives/514.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>CSS制作图片弹出展示效果</title>
		<link>http://marslau.com/archives/83.html</link>
		<comments>http://marslau.com/archives/83.html#comments</comments>
		<pubDate>Thu, 10 Jul 2008 14:36:07 +0000</pubDate>
		<dc:creator>Mars Lau</dc:creator>
				<category><![CDATA[web前端]]></category>
		<category><![CDATA[CSS样式]]></category>
		<category><![CDATA[缩略图]]></category>

		<guid isPermaLink="false">http://marslau.com/archives/83.html</guid>
		<description><![CDATA[介绍一种用css制作缩略图弹出全图的方法，实现过程中没有用到任何的js。 HTML代码： &#60;DIV id=pic&#62; &#60;A class=p1 title=&#8221;thumbnail image&#8221; href=&#8221;http://marslau.com/html/CSS-Image-PopUp/CSS-Image-PopUp.... <table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS制作Tab菜单样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106849.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作Tab菜单样式</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="53种网页设计师必备的高级CSS技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107008.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">53种网页设计师必备的高级CSS技巧</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5个css布局的常见问题及解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106904.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5个css布局的常见问题及解决方法</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS自适应宽度圆角按钮" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107012.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS自适应宽度圆角按钮</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><a  target="_blank" href="http://marslau.com/html/CSS-Image-PopUp/CSS-Image-PopUp.htm"><img border="0" src="http://marslau.com/wp-content/uploads/2008/07/css-image-popup.jpg" alt="css-image-popup" /></a></p>
<p>介绍一种用css制作缩略图弹出全图的方法，实现过程中没有用到任何的js。</p>
<p>HTML代码：</p>
<p class="code">&lt;DIV id=pic&gt;<br />
&lt;A class=p1 title=&#8221;thumbnail image&#8221; href=&#8221;http://marslau.com/html/CSS-Image-PopUp/CSS-Image-PopUp.htm&#8221; mce_href=&#8221;http://marslau.com/html/CSS-Image-PopUp/CSS-Image-PopUp.htm&#8221;&gt;&lt;img title=&#8221;BeautyTn&#8221; height=100 src=&#8221;Beauty-tn.jpg&#8221; mce_src=&#8221;Beauty-tn.jpg&#8221; width=100&gt;&lt;IMG class=large title=&#8221;Beauty&#8221; height=498 src=&#8221;Beauty.jpg&#8221; mce_src=&#8221;Beauty.jpg&#8221; width=500&gt;&lt;/A&gt;<br />
&lt;/DIV&gt;</p>
<p>对应的CSS：</p>
<p class="code">#pic {WIDTH: 100px; BACKGROUND-COLOR: #ffffff; margin: 100px 0 0 80px;}<br />
#pic A .large { BORDER: 0px; DISPLAY: block; WIDTH:0px; HEIGHT: 0px; } <font color="#999999"><span>/*首先将大的展示图的高宽设为0，既不显示*/</span><br />
</font>#pic A IMG { BORDER: 0px;}<br />
#pic A.p1 { BORDER: #000000 1px solid; DISPLAY: block; BACKGROUND: #ffffff; LEFT: 0px; WIDTH: 100px; TOP: 0px; HEIGHT: 100px; TEXT-DECORATION: none}<br />
#pic A.p1:visited { BORDER: #000000 1px solid; DISPLAY: block; BACKGROUND: #ffffff; LEFT: 0px; WIDTH: 100px; TOP: 0px; HEIGHT: 100px; TEXT-DECORATION: none}<br />
#pic A.p1:hover {COLOR: #000000; BACKGROUND-COLOR: #8c97a3; TEXT-DECORATION: none}<br />
#pic A.p1:hover .large {BORDER: #000000 1px solid; DISPLAY: block; LEFT: 150px; WIDTH: 500px; POSITION: absolute; TOP: 0px; HEIGHT: 498px } <span><font color="#999999">/*当鼠标经过缩略图时，展示图再设定的绝对位置显示*/</font></span></p>
<p><span>    <img src="http://marslau.com/wp-content/uploads/2008/06/star.gif" alt="star.gif" style="margin-top: 3px" /> <a target="_blank" href="http://marslau.com/html/CSS-Image-PopUp/CSS-Image-PopUp.htm">查看效果</a></span></p>
<ul class="related_post"><li>2009-09-10 -- <a href="http://marslau.com/archives/514.html" title="5个css布局的常见问题及解决方法">5个css布局的常见问题及解决方法</a> (10)</li><li>2009-03-12 -- <a href="http://marslau.com/archives/330.html" title="WordPress主题RBcss发布">WordPress主题RBcss发布</a> (77)</li><li>2008-06-03 -- <a href="http://marslau.com/archives/69.html" title="CSS制作Tab菜单样式">CSS制作Tab菜单样式</a> (3)</li><li>2008-05-31 -- <a href="http://marslau.com/archives/68.html" title="CSS自适应宽度圆角按钮">CSS自适应宽度圆角按钮</a> (3)</li><li>2008-05-28 -- <a href="http://marslau.com/archives/66.html" title="53种网页设计师必备的高级CSS技巧">53种网页设计师必备的高级CSS技巧</a> (1)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/65.html" title="CSS定义网页滚动条">CSS定义网页滚动条</a> (0)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/63.html" title="用css给图片加阴影">用css给图片加阴影</a> (2)</li></ul><hr />
<p><small>摘自：<a href="http://marslau.com">MarsLau&#039;s Blog</a> |
原文链接：<a href="http://marslau.com/archives/83.html">Permalink</a> |
<br/>
Tags: <a href="http://marslau.com/archives/tag/css%e6%a0%b7%e5%bc%8f" rel="tag">CSS样式</a>, <a href="http://marslau.com/archives/tag/%e7%bc%a9%e7%95%a5%e5%9b%be" rel="tag">缩略图</a><br/>
</small></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS制作Tab菜单样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106849.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作Tab菜单样式</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="53种网页设计师必备的高级CSS技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107008.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">53种网页设计师必备的高级CSS技巧</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5个css布局的常见问题及解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106904.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5个css布局的常见问题及解决方法</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS自适应宽度圆角按钮" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107012.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS自适应宽度圆角按钮</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://marslau.com/archives/83.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CSS制作Tab菜单样式</title>
		<link>http://marslau.com/archives/69.html</link>
		<comments>http://marslau.com/archives/69.html#comments</comments>
		<pubDate>Tue, 03 Jun 2008 13:08:16 +0000</pubDate>
		<dc:creator>Mars Lau</dc:creator>
				<category><![CDATA[web前端]]></category>
		<category><![CDATA[CSS样式]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[样式]]></category>

		<guid isPermaLink="false">http://marslau.com/archives/69.html</guid>
		<description><![CDATA[    最近研究css，确实学到了许多有趣的东东。查询和总结了一些Tab标签菜单的样式，供大家参考。      查看效果:CSS制作Tab菜单      图片源文件下载 2009-09-10 -- 5个css布局的常见问题及解... <table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS自适应宽度圆角按钮" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107012.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS自适应宽度圆角按钮</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5个css布局的常见问题及解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106904.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5个css布局的常见问题及解决方法</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS定义网页滚动条" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS定义网页滚动条</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS制作图片弹出展示效果" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106993.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作图片弹出展示效果</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><a title="tabmenu" rel="attachment wp-att-70" href="http://marslau.com/archives/69.html/tabmenu"></a>    最近研究css，确实学到了许多有趣的东东。查询和总结了一些Tab标签菜单的样式，供大家参考。</p>
<p><a title="CSS制作Tab菜单样式" href="http://marslau.com/html/CSSmenus/menus.htm" target="_blank"><img title="CSS制作Tab菜单" src="http://marslau.com/wp-content/uploads/2008/06/tabmenu.png" border="0" alt="CSS制作Tab菜单" /></a></p>
<p>    <img style="margin-top: 3px" src="http://marslau.com/wp-content/uploads/2008/06/star.gif" alt="star.gif" /> <a title="CSS制作Tab菜单样式" href="http://marslau.com/html/CSSmenus/menus.htm" target="_blank">查看效果:CSS制作Tab菜单</a></p>
<p>    <img style="margin-top: 3px" src="http://marslau.com/wp-content/uploads/2008/06/download.gif" alt="download" /> <a title="CSS制作Tab菜单样式下载" href="http://marslau.com/download/CSSmenus.zip" target="_blank">图片源文件下载</a></p>
<ul class="related_post"><li>2009-09-10 -- <a href="http://marslau.com/archives/514.html" title="5个css布局的常见问题及解决方法">5个css布局的常见问题及解决方法</a> (10)</li><li>2009-03-12 -- <a href="http://marslau.com/archives/330.html" title="WordPress主题RBcss发布">WordPress主题RBcss发布</a> (77)</li><li>2008-07-10 -- <a href="http://marslau.com/archives/83.html" title="CSS制作图片弹出展示效果">CSS制作图片弹出展示效果</a> (3)</li><li>2008-05-31 -- <a href="http://marslau.com/archives/68.html" title="CSS自适应宽度圆角按钮">CSS自适应宽度圆角按钮</a> (3)</li><li>2008-05-28 -- <a href="http://marslau.com/archives/66.html" title="53种网页设计师必备的高级CSS技巧">53种网页设计师必备的高级CSS技巧</a> (1)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/65.html" title="CSS定义网页滚动条">CSS定义网页滚动条</a> (0)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/63.html" title="用css给图片加阴影">用css给图片加阴影</a> (2)</li></ul><hr />
<p><small>摘自：<a href="http://marslau.com">MarsLau&#039;s Blog</a> |
原文链接：<a href="http://marslau.com/archives/69.html">Permalink</a> |
<br/>
Tags: <a href="http://marslau.com/archives/tag/css%e6%a0%b7%e5%bc%8f" rel="tag">CSS样式</a>, <a href="http://marslau.com/archives/tag/tab" rel="tag">tab</a>, <a href="http://marslau.com/archives/tag/%e6%a0%b7%e5%bc%8f" rel="tag">样式</a><br/>
</small></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS自适应宽度圆角按钮" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107012.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS自适应宽度圆角按钮</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5个css布局的常见问题及解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106904.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5个css布局的常见问题及解决方法</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS定义网页滚动条" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS定义网页滚动条</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS制作图片弹出展示效果" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106993.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作图片弹出展示效果</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://marslau.com/archives/69.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CSS自适应宽度圆角按钮</title>
		<link>http://marslau.com/archives/68.html</link>
		<comments>http://marslau.com/archives/68.html#comments</comments>
		<pubDate>Sat, 31 May 2008 11:59:48 +0000</pubDate>
		<dc:creator>Mars Lau</dc:creator>
				<category><![CDATA[web前端]]></category>
		<category><![CDATA[CSS样式]]></category>

		<guid isPermaLink="false">http://marslau.com/archives/68.html</guid>
		<description><![CDATA[本文介绍的圆角方法很特别，有创意。 先来看张图片： 原理就是通过背景的左对齐和右对齐用A标签和span标签组合出一个完整的圆角矩形。再通过hover标签去滑动图片。ok，看看代码吧. CSS: *{mar... <table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS制作Tab菜单样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106849.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作Tab菜单样式</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5个css布局的常见问题及解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106904.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5个css布局的常见问题及解决方法</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS定义网页滚动条" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS定义网页滚动条</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="53种网页设计师必备的高级CSS技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107008.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">53种网页设计师必备的高级CSS技巧</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>本文介绍的圆角方法很特别，有创意。</p>
<p>先来看张图片：<br />
<a rel="lightbox" target="_blank" href="http://www.aspxhome.com/article/uploadpic/200711/20/20071120115214132.gif" title="css自适应宽度圆角按钮"><img border="0" width="530" src="http://www.aspxhome.com/article/UploadPic/200711/20/20071120115214132.gif" /></a></p>
<p>原理就是通过背景的左对齐和右对齐用A标签和span标签组合出一个完整的圆角矩形。再通过hover标签去滑动图片。ok，看看代码吧.</p>
<p><strong>CSS:</strong></p>
<p class="code">*{margin:0; padding:0;}<br />
body{padding:10px; font-size:12px;}<br />
h1{margin:0; padding:10px 0; font-size:14px; font-weight:bold;}<br />
a{background:url(1.gif) left 0; color:#fff; text-decoration:none; height:30px; float:left; cursor:hand; margin:0 5px 0 0;}<br />
a:hover{background:url(1.gif) left -30px;height:30px;}<br />
a span{background:url(1.gif) right 0; padding:7px 8px 7px 0; margin:0 0 0 8px; float:left; height:16px;}<br />
a:hover span{background:url(1.gif) right -30px; color:#000; padding:7px 8px 7px 0; margin:0 0 0 8px; height:16px; }</p>
<p><strong>HTML:</strong></p>
<p class="code">&lt;body&gt;<br />
&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;&lt;span&gt;首页&lt;/span&gt;&lt;/a&gt;<br />
&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;&lt;span&gt;不是首页&lt;/span&gt;&lt;/a&gt;<br />
&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;&lt;span&gt;他也许是首页&lt;/span&gt;&lt;/a&gt;<br />
&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;&lt;span&gt;但他一定不是首页&lt;/span&gt;&lt;/a&gt;<br />
&lt;a href=&#8221;#&#8221; mce_href=&#8221;#&#8221;&gt;&lt;span&gt;好了，就这样把。别扯了~&lt;/span&gt;&lt;/a&gt;<br />
&lt;/body&gt;</p>
<p><strong>演示地址</strong>：</p>
<p><a target="_blank" href="http://www.aspxhome.com/examples/design/css/237320/liquid-css-menu.htm" title="http://5key.net/demo/liquid-css-menu/">http://www.aspxhome.com/<font face="Verdana">examples/design/css/237320</font>/liquid-css-menu.htm</a></p>
<p>PS：本文摘自“中国asp之家”</p>
<ul class="related_post"><li>2009-09-10 -- <a href="http://marslau.com/archives/514.html" title="5个css布局的常见问题及解决方法">5个css布局的常见问题及解决方法</a> (10)</li><li>2009-03-12 -- <a href="http://marslau.com/archives/330.html" title="WordPress主题RBcss发布">WordPress主题RBcss发布</a> (77)</li><li>2008-07-10 -- <a href="http://marslau.com/archives/83.html" title="CSS制作图片弹出展示效果">CSS制作图片弹出展示效果</a> (3)</li><li>2008-06-03 -- <a href="http://marslau.com/archives/69.html" title="CSS制作Tab菜单样式">CSS制作Tab菜单样式</a> (3)</li><li>2008-05-28 -- <a href="http://marslau.com/archives/66.html" title="53种网页设计师必备的高级CSS技巧">53种网页设计师必备的高级CSS技巧</a> (1)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/65.html" title="CSS定义网页滚动条">CSS定义网页滚动条</a> (0)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/63.html" title="用css给图片加阴影">用css给图片加阴影</a> (2)</li></ul><hr />
<p><small>摘自：<a href="http://marslau.com">MarsLau&#039;s Blog</a> |
原文链接：<a href="http://marslau.com/archives/68.html">Permalink</a> |
<br/>
Tags: <a href="http://marslau.com/archives/tag/css%e6%a0%b7%e5%bc%8f" rel="tag">CSS样式</a><br/>
</small></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS制作Tab菜单样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106849.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作Tab菜单样式</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5个css布局的常见问题及解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106904.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5个css布局的常见问题及解决方法</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS定义网页滚动条" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS定义网页滚动条</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="53种网页设计师必备的高级CSS技巧" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107008.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">53种网页设计师必备的高级CSS技巧</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://marslau.com/archives/68.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>53种网页设计师必备的高级CSS技巧</title>
		<link>http://marslau.com/archives/66.html</link>
		<comments>http://marslau.com/archives/66.html#comments</comments>
		<pubDate>Wed, 28 May 2008 12:39:11 +0000</pubDate>
		<dc:creator>Mars Lau</dc:creator>
				<category><![CDATA[web前端]]></category>
		<category><![CDATA[CSS样式]]></category>
		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://marslau.com/archives/66.html</guid>
		<description><![CDATA[CSS是很重要的，它意味着布局、页面设计和网页信息可以完全的隔离开来，而只需要更改一个CSS样式表文件。在 过去的几年中，许多优秀的Web开发者，为我们创造了很多优秀的CSS技术，在此文... <table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS自适应宽度圆角按钮" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107012.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS自适应宽度圆角按钮</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS制作Tab菜单样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106849.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作Tab菜单样式</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS定义网页滚动条" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS定义网页滚动条</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5个css布局的常见问题及解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106904.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5个css布局的常见问题及解决方法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>CSS是很重要的，它意味着布局、页面设计和网页信息可以完全的隔离开来，而只需要更改一个CSS样式表文件。在 过去的几年中，许多优秀的Web开发者，为我们创造了很多优秀的CSS技术，在此文中，我们就为你收集了53个CSS技巧。如果你是一个网页设计爱好者，那开始享受这份列表吧。</p>
<p>1. <a href="http://www.nundroo.com/navigation/">CSS Based Navigation CSS导航菜单</a></p>
<p>鼠标悬浮时的凸出效果比较酷。</p>
<p><a href="http://www.nundroo.com/navigation/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0000.gif" /></a></p>
<p>2. <a href="http://superfluousbanter.org/archives/2004/05/navigation-matrix-reloaded/">Navigation Matrix Reloaded</a></p>
<p>动态高亮的CSS导航菜单，非常有质感。</p>
<p><a href="http://superfluousbanter.org/archives/2004/05/navigation-matrix-reloaded/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0001.gif" /></a></p>
<p>3. <a href="http://exploding-boy.com/images/cssmenus/menus.html">CSS Tabs</a></p>
<p>提供多种CSS Tab选项卡导航菜单样式。</p>
<p><a href="http://exploding-boy.com/images/cssmenus/menus.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0002.gif" /></a></p>
<p>4. <a href="http://www.khmerang.com/index.php?p=118">CSS Bar Graphs</a> (<a href="http://applestooranges.com/blog/post/css-for-bar-graphs/?id=55">CSS For Bar Graphs</a>)</p>
<p>用CSS创建的图形工具条。</p>
<p><a href="http://www.khmerang.com/index.php?p=118"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0003.gif" /></a></p>
<p>5. <a href="http://icant.co.uk/sandbox/footercollapsetables/">Collapsing Tables: An Example</a></p>
<p><a href="http://icant.co.uk/sandbox/footercollapsetables/">一个CSS表格演示      <br /></a></p>
<p><a href="http://icant.co.uk/sandbox/footercollapsetables/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0004.gif" /></a></p>
<p>6. <a href="http://www.flog.co.nz/lab/ARC/ARC.htm">Adam&#8217;s Radio &amp; Checkbox Customisation Method</a></p>
<p>较简单的复选框 效果</p>
<p><a href="http://www.flog.co.nz/lab/ARC/ARC.htm"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0005.gif" /></a></p>
<p>7. <a href="http://www.mezzoblue.com/tests/revised-image-replacement/">CSS Image Replacement</a></p>
<p>用CSS来实现图片替换文本标题的技术教程。</p>
<p><a href="http://www.mezzoblue.com/tests/revised-image-replacement/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0006.gif" /></a></p>
<p>8. <a href="http://theshapeofdays.com/2005/11/my_contribution.html">CSS Shadows</a> (<a href="http://web-graphics.com/mtarchive/001589.php">CSS Shadows Roundup</a>)</p>
<p>CSS阴影效果生成技术</p>
<p><a href="http://theshapeofdays.com/2005/11/my_contribution.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0007.gif" /></a></p>
<p>9. <a href="http://www.smileycat.com/miaow/archives/000044.html">CSS Rounded Corners Roundup</a> (<a href="http://www.html.it/articoli/nifty/index.html">Nifty Corners</a>)</p>
<p>用CSST生成圆角效果</p>
<p><a href="http://www.smileycat.com/miaow/archives/000044.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0008.gif" /></a></p>
<p>10. <a href="http://www.mandarindesign.com/troops.html">Drop Cap &#8211; Capital Letters with CSS</a></p>
<p>CSS生成的首字下沉效果</p>
<p><a href="http://www.mandarindesign.com/troops.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0009.gif" /></a></p>
<p>11. <a href="http://www.mandarindesign.com/troops.html#opacitybackgroundhard">Define Image Opacity with CSS</a></p>
<p>使用CSS来修改图像的透明度</p>
<p><a href="http://www.mandarindesign.com/troops.html#opacitybackgroundhard"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0010.gif" /></a></p>
<p>12. <a href="http://www.smileycat.com/miaow/archives/000230.html">How to Create a Block Hover Effect for a List of Links</a></p>
<p>让所有HTML元素都能实现悬浮效果</p>
<p><a href="http://www.smileycat.com/miaow/archives/000230.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0011.gif" /></a></p>
<p>13. <a href="http://www.sitepoint.com/test/pullquote.htm">Pullquotes with CSS</a> (<a href="http://www.456bereastreet.com/archive/200609/automatic_pullquotes_with_javascript_and_css/">Automatic Pullquotes with JavaScript and CSS</a></p>
<p>使用Javascript和CSS结合实现的样式化引用</p>
<p><a href="http://www.sitepoint.com/test/pullquote.htm"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0012.gif" /></a></p>
<p>14. <a href="http://www.surfare.net/%7Etoolman/temp/diagram.html">CSS Diagrams</a></p>
<p>用CSS实现的一览图</p>
<p><a href="http://www.surfare.net/%7Etoolman/temp/diagram.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0013.gif" /></a></p>
<p>15. <a href="http://couchfort.net/article/59/css-curves">CSS Curves</a></p>
<p>CSS实现的曲线图布局</p>
<p><a href="http://couchfort.net/article/59/css-curves"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0014.gif" /></a></p>
<p>16. <a href="http://www.themaninblue.com/experiment/footerStickAlt/">Footer Stick</a> 可以让你在网页的底部覆盖一个DIV层</p>
<p><a href="http://www.themaninblue.com/experiment/footerStickAlt/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0015.gif" /></a></p>
<p>17. <a href="http://www.frankmanno.com/ideas/css-imagemap/">CSS Image Map</a></p>
<p>CSS实现的图片地图</p>
<p><a href="http://www.frankmanno.com/ideas/css-imagemap/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0016.gif" /></a></p>
<p>18. <a href="http://moneytreesystems.com/css/picpopup.html">CSS Image Pop-Up</a></p>
<p>用CSS达到图片的弹出展示效果，不需要任何Javascript</p>
<p><a href="http://moneytreesystems.com/css/picpopup.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0017.gif" /></a></p>
<p>19. <a href="http://specere.net/blogs/?p=4">CSS Image Preloader</a></p>
<p>CSS的一个背景图片Hack方法</p>
<p><a href="http://specere.net/blogs/?p=4"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0018.gif" /></a></p>
<p>20. <a href="http://www.ampsoft.net/webdesign-l/image-button.html">CSS Image Replacement for Buttons</a></p>
<p>CSS按钮生成</p>
<p><a href="http://www.ampsoft.net/webdesign-l/image-button.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0019.gif" /></a></p>
<p>21. <a href="http://lab.arc90.com/2006/07/link_thumbnail.php">Link Thumbnail</a></p>
<p>用CSS实现的链接缩略图</p>
<p><a href="http://lab.arc90.com/2006/07/link_thumbnail.php"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0020.gif" /></a></p>
<p>22. <a href="http://mikecherim.com/experiments/css_map_pop.php">CSS Map Pop</a></p>
<p>CSS地图弹出提示</p>
<p><a href="http://mikecherim.com/experiments/css_map_pop.php"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0021.gif" /></a></p>
<p>23. <a href="http://mikecherim.com/gbcms_xml/news_page.php?id=12">PHP-based CSS Style Switcher</a></p>
<p>基于PHP的网站风格切换</p>
<p><a href="http://mikecherim.com/gbcms_xml/news_page.php?id=12"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0022.gif" /></a></p>
<p>24. <a href="http://mikecherim.com/gbcms_xml/news_page.php?id=0">CSS Unordered List Calender</a> (<a href="http://veerle.duoh.com/blog/comments/a_css_styled_calendar/">CSS Styled Calender</a>)</p>
<p>CSS结合无序列表实现的漂亮日历</p>
<p><a href="http://mikecherim.com/gbcms_xml/news_page.php?id=0"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0023.gif" /></a></p>
<p>25. <a href="http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/">CSS-Based Forms: Techniques</a></p>
<p>使用CSS实现的表单技术</p>
<p><a href="http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0024.gif" /></a></p>
<p>26. <a href="http://www.smashingmagazine.com/2006/12/29/css-based-tables-modern-solutions/">CSS-Based Tables: Techniques</a></p>
<p>使用CSS实现的表格技术，主要是有高亮单元格等功能。</p>
<p><a href="http://www.smashingmagazine.com/2006/12/29/css-based-tables-modern-solutions/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0025.gif" /></a></p>
<p>27. <a href="http://css-discuss.incutio.com/?page=PrintStylesheets">Printing Web-Documents and CSS</a></p>
<p>打印网页文档和CSS的服务</p>
<p><a href="http://css-discuss.incutio.com/?page=PrintStylesheets"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0027.gif" /></a></p>
<p>28. <a href="http://www.alistapart.com/articles/improvingprint/">Improved Links-Display for Print-Layouts with CSS</a></p>
<p>CSS实现的打印布局</p>
<p><a href="http://www.alistapart.com/articles/improvingprint/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0026.gif" /></a></p>
<p>29. <a href="http://www.ukthoughts.co.uk/journal/css-submit-buttons">CSS-Submit Buttons</a></p>
<p>CSS实现的提交按钮，鼠标悬浮时实现切换效果</p>
<p><a href="http://www.ukthoughts.co.uk/journal/css-submit-buttons"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0028.gif" /></a></p>
<p>30. <a href="http://www.456bereastreet.com/lab/teaser/">CSS Teaser Box</a></p>
<p>CSS实现的漂亮的圆角阴影模块</p>
<p><a href="http://www.456bereastreet.com/lab/teaser/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0029.gif" /></a></p>
<p>31. <a href="http://www.macworld.com/2005/12/secrets/januarycreate/index.php">CSS Tricks for Custom Bullets</a>     <br /><a href="http://www.macworld.com/2005/12/secrets/januarycreate/index.php"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0030.gif" /></a></p>
<p>32. <a href="http://www.colly.com/index.php?/weblog/comments/ticked_off_links_reloaded">Ticked Off Links Reloaded</a></p>
<p>很酷的CSS关闭链接技巧</p>
<p><a href="http://www.colly.com/index.php?/weblog/comments/ticked_off_links_reloaded"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0031.gif" /></a></p>
<p>33. <a href="http://www.deltatangobravo.com/images/zoom/">CSS Zooming</a></p>
<p>CSS实现文本大小的缩放</p>
<p><a href="http://www.deltatangobravo.com/images/zoom/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0032.gif" /></a></p>
<p>34. <a href="http://komodomedia.com/blog/index.php/2005/08/24/creating-a-star-rater-using-css/">Creating a Star Rater using CSS</a></p>
<p>利用CSS制作星形评级系统</p>
<p><a href="http://komodomedia.com/blog/index.php/2005/08/24/creating-a-star-rater-using-css/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0033.gif" /></a></p>
<p>35. <a href="http://webdesign.maratz.com/lab/visited_links_styling/">The ways to style visited Links</a></p>
<p>简单的样式化已经点击过的链接</p>
<p><a href="http://webdesign.maratz.com/lab/visited_links_styling/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0034.gif" /></a></p>
<p>36. <a href="http://webdesign.maratz.com/lab/pdf_links_labeling/">PDF, ZIP, DOC Links Labeling</a></p>
<p>利用CSS为PDF、ZIP、DOC指定不同的图标</p>
<p><a href="http://webdesign.maratz.com/lab/pdf_links_labeling/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0035.gif" /></a></p>
<p>37. <a href="http://www.barenakedapp.com/the-design/displaying-percentages">Displaying Percentages with CSS</a></p>
<p>利用CSS实现的百分度进度条显示</p>
<p><a href="http://www.barenakedapp.com/the-design/displaying-percentages"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0036.gif" /></a></p>
<p>38. <a href="http://ghettocooler.net/2005/11/13/image-floats-without-the-text-wrap/">Image Floats without the Text Wrap</a></p>
<p>一个CSS的图片排版技术</p>
<p><a href="http://ghettocooler.net/2005/11/13/image-floats-without-the-text-wrap/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0037.gif" /></a></p>
<p>39. <a href="http://webdesign.maratz.com/lab/new_window_link/">Let visitors decide, whether or not will they open link in a new window</a></p>
<p>让使用者决定，是否在一个新窗品打开链接</p>
<p><a href="http://webdesign.maratz.com/lab/new_window_link/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0038.gif" /></a></p>
<p>40. <a href="http://www.maxdesign.com.au/presentation/external/">Simple accessible external links</a></p>
<p>简单的对外部链接的美化效果</p>
<p><a href="http://www.maxdesign.com.au/presentation/external/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0039.gif" /></a></p>
<p>41. <a href="http://24ways.org/2005/splintered-striper">Zebra Table with JavaScript and CSS</a></p>
<p>使用Javascript和CSS实现的表格特效</p>
<p><a href="http://24ways.org/2005/splintered-striper"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0040.gif" /></a></p>
<p>42. <a href="http://www.jakpsatweb.cz/css/css-vertical-center-solution.html">Vertical Centering with CSS</a> (<a href="http://www.456bereastreet.com/lab/centered/both/">Horizontal and Vertical Centering with CSS</a></p>
<p>利用CSS实现的垂直居中效果</p>
<p><a href="http://www.jakpsatweb.cz/css/css-vertical-center-solution.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0041.gif" /></a></p>
<p>43. <a href="http://lab.arc90.com/2006/05/unobtrusive_sidenotes.php">Unobtrusive Sidenotes</a></p>
<p>CSS实现的旁注特效</p>
<p><a href="http://lab.arc90.com/2006/05/unobtrusive_sidenotes.php"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0042.gif" /></a></p>
<p>44. <a href="http://lab.arc90.com/2006/07/image_caption_1.php">Image Caption with CSS</a> (<a href="http://www.boagworld.com/archives/2006/07/styled_images_with_caption.html">Styled Images with Caption</a>)</p>
<p>样式化图片的标题说明</p>
<p><a href="http://lab.arc90.com/2006/07/image_caption_1.php"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0043.gif" /></a></p>
<p>45. <a href="http://petewilliamsagency.com/css/examples/pie/">Dynamic Piechart with CSS</a></p>
<p>动态的CSS饼形图表</p>
<p><a href="http://petewilliamsagency.com/css/examples/pie/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0044.gif" /></a></p>
<p>46. <a href="http://www.brandspankingnew.net/archive/2005/07/format_footnote.html">Format Footnotes with CSS</a></p>
<p>使用CSS格式化页脚注释</p>
<p><a href="http://www.brandspankingnew.net/archive/2005/07/format_footnote.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0045.gif" /></a></p>
<p>47. <a href="http://www.alexandersperl.de/tutorials/css/sitemap.html">Hierarchical Sitemap with CSS</a></p>
<p>利用CSS完成的层联树形菜单</p>
<p><a href="http://www.alexandersperl.de/tutorials/css/sitemap.html"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0046.gif" /></a></p>
<p>48. <a href="http://www.colly.com/index.php?/weblog/comments/snooks_resizable_underlines/">Snook&#8217;s Resizable Underlines</a></p>
<p><a href="http://www.colly.com/index.php?/weblog/comments/snooks_resizable_underlines/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0047.gif" /></a></p>
<p>49. <a href="http://www.alistapart.com/articles/switchymclayout">Switchy McLayout: An Adaptive Layout Technique</a></p>
<p>CSS的自适应布局技巧</p>
<p><a href="http://www.alistapart.com/articles/switchymclayout"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0048.gif" /></a></p>
<p>50. <a href="http://www.scottjehl.com/v7/index.php/process/stylemap_visual_sitemap/">StyleMap: CSS+HTML Visual Sitemap</a></p>
<p>CSS+HTML的视觉网站地图</p>
<p><a href="http://www.scottjehl.com/v7/index.php/process/stylemap_visual_sitemap/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0049.gif" /></a></p>
<p>51. <a href="http://www.devlounge.net/articles/custom-reading-width-beta">Custom Reading Width</a></p>
<p>自定义阅读内容的宽度</p>
<p><a href="http://www.devlounge.net/articles/custom-reading-width-beta"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0050.gif" /></a></p>
<p>52. <a href="http://www.bioneural.net/2006/04/01/create-a-valid-css-alert-message/">CSS Alert Message</a></p>
<p><a href="http://www.bioneural.net/2006/04/01/create-a-valid-css-alert-message/"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0051.gif" /></a></p>
<p>53. <a href="http://24ways.org/2006/css-production-notes">CSS Production Notes</a></p>
<p><a href="http://24ways.org/2006/css-production-notes"><img alt="CSS-Technique" src="http://marslau.com/wp-content/uploads/2008/05/css-techniques0052.gif" /></a></p>
<p>&#160;</p>
<p><strong>PS:</strong>本文摘自：<a href="http://parandroid.com">帕兰映像</a></p>
<ul class="related_post"><li>2009-09-10 -- <a href="http://marslau.com/archives/514.html" title="5个css布局的常见问题及解决方法">5个css布局的常见问题及解决方法</a> (10)</li><li>2009-03-12 -- <a href="http://marslau.com/archives/330.html" title="WordPress主题RBcss发布">WordPress主题RBcss发布</a> (77)</li><li>2008-07-10 -- <a href="http://marslau.com/archives/83.html" title="CSS制作图片弹出展示效果">CSS制作图片弹出展示效果</a> (3)</li><li>2008-06-03 -- <a href="http://marslau.com/archives/69.html" title="CSS制作Tab菜单样式">CSS制作Tab菜单样式</a> (3)</li><li>2008-05-31 -- <a href="http://marslau.com/archives/68.html" title="CSS自适应宽度圆角按钮">CSS自适应宽度圆角按钮</a> (3)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/65.html" title="CSS定义网页滚动条">CSS定义网页滚动条</a> (0)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/63.html" title="用css给图片加阴影">用css给图片加阴影</a> (2)</li></ul><hr />
<p><small>摘自：<a href="http://marslau.com">MarsLau&#039;s Blog</a> |
原文链接：<a href="http://marslau.com/archives/66.html">Permalink</a> |
<br/>
Tags: <a href="http://marslau.com/archives/tag/css%e6%a0%b7%e5%bc%8f" rel="tag">CSS样式</a>, <a href="http://marslau.com/archives/tag/%e6%8a%80%e5%b7%a7" rel="tag">技巧</a><br/>
</small></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS自适应宽度圆角按钮" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107012.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS自适应宽度圆角按钮</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS制作Tab菜单样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106849.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作Tab菜单样式</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS定义网页滚动条" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS定义网页滚动条</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5个css布局的常见问题及解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F66.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106904.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5个css布局的常见问题及解决方法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://marslau.com/archives/66.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CSS定义网页滚动条</title>
		<link>http://marslau.com/archives/65.html</link>
		<comments>http://marslau.com/archives/65.html#comments</comments>
		<pubDate>Sun, 25 May 2008 14:39:24 +0000</pubDate>
		<dc:creator>Mars Lau</dc:creator>
				<category><![CDATA[web前端]]></category>
		<category><![CDATA[CSS样式]]></category>

		<guid isPermaLink="false">http://marslau.com/archives/65.html</guid>
		<description><![CDATA[（一）滚动条样式主要涉及到如下CSS属性: overflow属性: 检索或设置当对象的内容超过其指定高度及宽度时如何显示内容 overflow: auto; 在需要时内容会自动添加滚动条 overflow: scroll; 总是显示滚动... <table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS制作Tab菜单样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106849.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作Tab菜单样式</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS自适应宽度圆角按钮" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107012.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS自适应宽度圆角按钮</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS制作图片弹出展示效果" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106993.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作图片弹出展示效果</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5个css布局的常见问题及解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106904.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5个css布局的常见问题及解决方法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>（一）滚动条样式主要涉及到如下CSS属性:</p>
<p>overflow属性: 检索或设置当对象的内容超过其指定高度及宽度时如何显示内容<br />
overflow: auto; 在需要时内容会自动添加滚动条<br />
overflow: scroll; 总是显示滚动条<br />
overflow-x: hidden; 禁止横向的滚动条<br />
overflow-y: scroll; 总是显示纵向滚动条</p>
<p>（二）以下代码定义滚动条的样式：</p>
<p class="code">&lt;STYLE&gt;<br />
BODY {<br />
SCROLLBAR-FACE-COLOR: #f892cc;        //滚动条凸出部分的颜色<br />
SCROLLBAR-HIGHLIGHT-COLOR: #f256c6;     //滚动条空白部分的颜色<br />
SCROLLBAR-SHADOW-COLOR: #fd76c2;     //立体滚动条阴影的颜色<br />
SCROLLBAR-3DLIGHT-COLOR: #fd76c2;     //滚动条亮边的颜色<br />
SCROLLBAR-ARROW-COLOR: #fd76c2;     //上下按钮上三角箭头的颜色<br />
SCROLLBAR-TRACK-COLOR: #fd76c2;     //滚动条的背景颜色<br />
SCROLLBAR-DARKSHADOW-COLOR: #f629b9;     //滚动条强阴影的颜色<br />
SCROLLBAR-BASE-COLOR: #e9cfe0;     //滚动条的基本颜色<br />
}<br />
&lt;/STYLE&gt;</p>
<p>注意：如果你的静态页面顶端有类似与这样的代码&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt; ，请将这段代码删除或将BODY {&#8230;}更改为HTML{&#8230;}即可见滚动条效果。</p>
<p>（三）网页中去掉滚动条：<br />
去掉横向滚动条：&lt;body   style=&#8217;overflow:scroll;overflow-x:hidden&#8217;&gt;  <br />
去掉竖向滚动条：&lt;body   style=&#8217;overflow:scroll;overflow-y:hidden&#8217;&gt;  <br />
两个都去掉：&lt;body   scroll=&#8221;no&#8221;&gt;  <br />
框加中去滚动条在name=&#8221;"后面加 scrolling=&#8221;No&#8221;</p>
<ul class="related_post"><li>2009-09-10 -- <a href="http://marslau.com/archives/514.html" title="5个css布局的常见问题及解决方法">5个css布局的常见问题及解决方法</a> (10)</li><li>2009-03-12 -- <a href="http://marslau.com/archives/330.html" title="WordPress主题RBcss发布">WordPress主题RBcss发布</a> (77)</li><li>2008-07-10 -- <a href="http://marslau.com/archives/83.html" title="CSS制作图片弹出展示效果">CSS制作图片弹出展示效果</a> (3)</li><li>2008-06-03 -- <a href="http://marslau.com/archives/69.html" title="CSS制作Tab菜单样式">CSS制作Tab菜单样式</a> (3)</li><li>2008-05-31 -- <a href="http://marslau.com/archives/68.html" title="CSS自适应宽度圆角按钮">CSS自适应宽度圆角按钮</a> (3)</li><li>2008-05-28 -- <a href="http://marslau.com/archives/66.html" title="53种网页设计师必备的高级CSS技巧">53种网页设计师必备的高级CSS技巧</a> (1)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/63.html" title="用css给图片加阴影">用css给图片加阴影</a> (2)</li></ul><hr />
<p><small>摘自：<a href="http://marslau.com">MarsLau&#039;s Blog</a> |
原文链接：<a href="http://marslau.com/archives/65.html">Permalink</a> |
<br/>
Tags: <a href="http://marslau.com/archives/tag/css%e6%a0%b7%e5%bc%8f" rel="tag">CSS样式</a><br/>
</small></p><table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="CSS制作Tab菜单样式" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F69.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106849.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作Tab菜单样式</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS自适应宽度圆角按钮" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F68.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107012.gif" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS自适应宽度圆角按钮</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="CSS制作图片弹出展示效果" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F83.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106993.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">CSS制作图片弹出展示效果</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="用css给图片加阴影" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F63.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10107017.jpg" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">用css给图片加阴影</font>
                    </a>
                </td>
                <td width="112" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5个css布局的常见问题及解决方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fmarslau.com%2Farchives%2F514.html&from=http%3A%2F%2Fmarslau.com%2Farchives%2F65.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 106px !important; height: 106px !important;" src="http://static.wumii.com/site_images/2011/11/01/10106904.png" width="106px" height="106px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 112px !important; font: 12px/15px arial !important; height: 30px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5个css布局的常见问题及解决方法</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://marslau.com/archives/65.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用css给图片加阴影</title>
		<link>http://marslau.com/archives/63.html</link>
		<comments>http://marslau.com/archives/63.html#comments</comments>
		<pubDate>Sun, 25 May 2008 11:00:35 +0000</pubDate>
		<dc:creator>Mars Lau</dc:creator>
				<category><![CDATA[web前端]]></category>
		<category><![CDATA[CSS样式]]></category>

		<guid isPermaLink="false">http://marslau.com/archives/63.html</guid>
		<description><![CDATA[这是一图片原来的效果： 只需要在&#60;img&#62;标记前加上以下语法，就可以运用滤镜制作阴影效果了。 &#60;span style=&#8221;filter:shadow(color=gray,direction=45);width:100%;&#8221;&#62;        // color为阴影... ]]></description>
			<content:encoded><![CDATA[<p>这是一图片原来的效果：</p>
<p><img src="http://marslau.com/wp-content/uploads/2008/05/css-pic-c-ronald.jpg" alt="css-pic-C Ronald" /></p>
<p>只需要在&lt;img&gt;标记前加上以下语法，就可以运用滤镜制作阴影效果了。</p>
<p class="code">&lt;span style=&#8221;filter:shadow(color=gray,direction=45);width:100%;&#8221;&gt;        // color为阴影的颜色，direction表示影音的角度（需以45度为1个单位）</p>
<p>效果如下：<br />
<span style="filter: shadow(color=gray,direction=45); width: 100%"><br />
<img src="http://marslau.com/wp-content/uploads/2008/05/css-pic-c-ronald.jpg" alt="css-pic-C Ronald" /></span></p>
<ul class="related_post"><li>2009-09-10 -- <a href="http://marslau.com/archives/514.html" title="5个css布局的常见问题及解决方法">5个css布局的常见问题及解决方法</a> (10)</li><li>2009-03-12 -- <a href="http://marslau.com/archives/330.html" title="WordPress主题RBcss发布">WordPress主题RBcss发布</a> (77)</li><li>2008-07-10 -- <a href="http://marslau.com/archives/83.html" title="CSS制作图片弹出展示效果">CSS制作图片弹出展示效果</a> (3)</li><li>2008-06-03 -- <a href="http://marslau.com/archives/69.html" title="CSS制作Tab菜单样式">CSS制作Tab菜单样式</a> (3)</li><li>2008-05-31 -- <a href="http://marslau.com/archives/68.html" title="CSS自适应宽度圆角按钮">CSS自适应宽度圆角按钮</a> (3)</li><li>2008-05-28 -- <a href="http://marslau.com/archives/66.html" title="53种网页设计师必备的高级CSS技巧">53种网页设计师必备的高级CSS技巧</a> (1)</li><li>2008-05-25 -- <a href="http://marslau.com/archives/65.html" title="CSS定义网页滚动条">CSS定义网页滚动条</a> (0)</li></ul><hr />
<p><small>摘自：<a href="http://marslau.com">MarsLau&#039;s Blog</a> |
原文链接：<a href="http://marslau.com/archives/63.html">Permalink</a> |
<br/>
Tags: <a href="http://marslau.com/archives/tag/css%e6%a0%b7%e5%bc%8f" rel="tag">CSS样式</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://marslau.com/archives/63.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

