<?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>web集结号 &#187; css特效</title>
	<atom:link href="http://www.songlecn.com/tag/css%e7%89%b9%e6%95%88/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.songlecn.com</link>
	<description>专注于web表现层技术</description>
	<lastBuildDate>Wed, 04 Nov 2009 02:46:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>纯CSS网站后台管理菜单</title>
		<link>http://www.songlecn.com/2009/03/571/</link>
		<comments>http://www.songlecn.com/2009/03/571/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 06:43:17 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[css特效]]></category>
		<category><![CDATA[CSS菜单]]></category>
		<category><![CDATA[导航菜单]]></category>
		<category><![CDATA[菜单效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=571</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>纯CSS网站后台管理菜单，运行代码查看效果 &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34; /&#62; &#60;title&#62;纯css管理菜单&#60;/title&#62; &#60;style type=&#34;text/css&#34;&#62; body{font-size:12px;} ul,li,h2{margin:0;padding:0;} ul{list-style:none;} #top{width:900px;height:40px;margin:0 auto;background-color:#cc0} #top h2{width:150px;height:40px;background-color:#9c0;float:left;font-size:14px;text-align:center;line-height:40px;} #topTags{width:750px;height:40px;margin:0 auto;background-color:#cc0;float:left} #topTags ul li{float:left;width:100px;height:25px;margin-right:5px;display:block;text-align:center;cursor:pointer;padding-top:15px;} #main{width:900px;height:500px;margin:0 auto;background-color:#F5F7E6;} #leftMenu{width:150px;height:500px;background-color:#009900;float:left} #leftMenu ul{margin:10px;} #leftMenu ul li{width:130px;height:30px;display:block;background:#9c0;cursor:pointer;line-height:30px;text-align:center;margin-bottom:5px;} #leftMenu ul li a{color:#000000;text-decoration:none;} #content{width:750px;height:500px;float:left} .content{width:740px;height:490px;display:none;padding:5px;overflow-y:auto;line-height:30px;} #footer{width:900px;height:30px;margin:0 auto;background-color:#ccc;line-height:30px;text-align:center;} .content1 {width:740px;height:490px;display:block;padding:5px;overflow-y:auto;line-height:30px;} &#60;/style&#62; &#60;script type=&#34;text/javascript&#34;&#62; window.onload=function(){ function [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/571/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>简单css水平菜单</title>
		<link>http://www.songlecn.com/2009/03/497/</link>
		<comments>http://www.songlecn.com/2009/03/497/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 04:37:42 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[css特效]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[菜单]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=497</guid>
		<description><![CDATA[简单css水平菜单，css水平菜单，借助简单的js控制显示，预览效果图：]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/497/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>高亮度检验的表单显示效果</title>
		<link>http://www.songlecn.com/2009/03/407/</link>
		<comments>http://www.songlecn.com/2009/03/407/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 03:09:21 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[css特效]]></category>
		<category><![CDATA[显示效果]]></category>
		<category><![CDATA[检验表单]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=407</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>高亮度验的表单显示效果，其实很简单^_^ &#60;style type=&#34;text/css&#34;&#62; body {margin:0px;font:normal 12px &#34;宋体&#34;, Verdana, Arial, Helvetica,sans-serif;color: #3D362B;text-align:center;padding:0px;} *{font-size:12px;margin:0px;padding:0px;} .BladeInput{BORDER: #ccc 1px solid;line-height:16px;color:#666;font-family:arial;padding-left:3px;} .BladeInput2{BORDER: #999 1px solid;line-height:16px;color:#666;font-family:arial;padding-left:3px;background:#FFFFEA} &#60;/style&#62; &#60;form action=http://www.songlecn.com method=&#34;post&#34; name=&#34;theForm&#34; id=&#34;theForm&#34;&#62; &#60;table width=&#34;400&#34; border=&#34;0&#34; align=&#34;center&#34; cellpadding=&#34;0&#34; cellspacing=&#34;5&#34; &#62; &#60;tr&#62; &#60;td width=&#34;92&#34; height=&#34;26&#34; align=&#34;right&#34;&#62;用户帐户&#60;/td&#62; &#60;td width=&#34;408&#34;&#62;&#60;font color=&#34;#666666&#34;&#62;&#60;input name=&#34;UserName&#34; type=&#34;text&#34; class=&#34;BladeInput&#34; id=&#34;UserName&#34; onFocus=&#34;this.className='Bladeinput2'&#34; onBlur=&#34;this.className='Bladeinput'&#34; size=&#34;20&#34; maxlength=&#34;12&#34;&#62; &#60;/font&#62;&#60;/td&#62; &#60;/tr&#62; &#60;tr&#62; &#60;td height=&#34;26&#34; align=&#34;right&#34;&#62;用户密码&#60;/td&#62; [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/03/407/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一个比较酷的CSS生成带提示的菜单</title>
		<link>http://www.songlecn.com/2009/02/331/</link>
		<comments>http://www.songlecn.com/2009/02/331/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 03:10:32 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[css特效]]></category>
		<category><![CDATA[提示菜单]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=331</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>一个比较酷的CSS生成带提示的菜单，鼠标悬浮显示信息提示内容，看看效果吧 &#60;style type=&#34;text/css&#34;&#62; #coolmenu{ border: 1px solid black; width: 170px; background-color: #E6E6E6; } #coolmenu a{ font: bold 13px Verdana; padding: 2px; padding-left: 4px; display: block; width: 100%; color: black; text-decoration: none; border-bottom: 1px solid black; } html&#62;body #coolmenu a{ width: auto; } #coolmenu a:hover{ background-color: black; color: white; } #tabledescription{ width: 100%; height: 3em; padding: [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/02/331/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>像册方式展现字母表</title>
		<link>http://www.songlecn.com/2009/02/309/</link>
		<comments>http://www.songlecn.com/2009/02/309/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 02:11:38 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[css特效]]></category>
		<category><![CDATA[字母表]]></category>
		<category><![CDATA[相册]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=309</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>像册方式展现字母表，可做多种改造应用，代码如下: &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62; &#60;title&#62;像册方式展现字母表——Webjx.Com&#60;/title&#62; &#60;style type=&#34;text/css&#34;&#62; body{ margin:0; padding:0; text-align:center;} #container {font-family:&#34;courier new&#34;, monospace; position:relative; width:530px; height:300px; margin:100px auto; background:#f9f9f9;border:1px dotted #cccccc;text-align:left;} #tabl a:visited, #tabl a {text-decoration:none; color:#666; font-weight:bold;float:left; padding:6px 8px;} #tabl a span {display:none;} #tabl a:hover {text-decoration:none; color:#c00; background:#fff;font-weight:bold;} #tabl [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/02/309/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS图片遮罩层效果</title>
		<link>http://www.songlecn.com/2009/02/294/</link>
		<comments>http://www.songlecn.com/2009/02/294/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 02:16:50 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[css特效]]></category>
		<category><![CDATA[图片遮罩]]></category>
		<category><![CDATA[效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=294</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>用CSS改变的图片由模糊到清楚的导航，也就是CSS图片遮罩层效果，运行可以看到效果 &#60;style&#62; .highlightit img{ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); -moz-opacity: 0.5; } .highlightit:hover img{ filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); -moz-opacity: 1; } &#60;/style&#62; &#60;!-- 把下列代码加入到body区内 --&#62; &#60;a href=&#34;http://www.songlecn.com/&#34; class=&#34;highlightit&#34;&#62;&#60;img border=&#34;0&#34; src=&#34;http://www.songlecn.com/wp-content/supload/2009/02/17/wt55.jpg&#34;&#62;&#60;/a&#62; &#60;a href=&#34;http://www.songlecn.com/&#34; class=&#34;highlightit&#34;&#62;&#60;img border=&#34;0&#34; src=&#34;http://www.songlecn.com/wp-content/supload/2009/02/17/wt55.jpg&#34;&#62;&#60;/a&#62; 提示：你可以先修改部分代码再运行。]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/02/294/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>实现效果很好的分页效果</title>
		<link>http://www.songlecn.com/2009/02/279/</link>
		<comments>http://www.songlecn.com/2009/02/279/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 05:21:50 +0000</pubDate>
		<dc:creator>船长</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[css特效]]></category>
		<category><![CDATA[分页]]></category>
		<category><![CDATA[效果]]></category>

		<guid isPermaLink="false">http://www.songlecn.com/?p=279</guid>
		<description><![CDATA[<script type="text/javascript">
function runcode_open_new(element)
{
	var code = document.getElementById(element).value;
	var win = window.open("", "", "");
	win.opener = null;
	win.document.write(code);
	win.document.close();
}
function runcode_copy(element)
{
	var codeobj = document.getElementById(element);
	var meintext = codeobj.value;
	try {
	 if (window.clipboardData)
	   {
	   window.clipboardData.setData("Text", meintext);
	   }
	   else if (window.netscape)
	   {
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1']
					 .createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   var trans = Components.classes['@mozilla.org/widget/transferable;1']
					  .createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;
	   trans.addDataFlavor('text/unicode');
	   var str = new Object();
	   var len = new Object();
	   var str = Components.classes["@mozilla.org/supports-string;1"]
					.createInstance(Components.interfaces.nsISupportsString);
	   var copytext=meintext;
	   str.data=copytext;
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   var clipid=Components.interfaces.nsIClipboard;
	   if (!clip) return false;
	   clip.setData(trans,null,clipid.kGlobalClipboard);
	   }
	} catch (e) {alert('因为安全策略的原因，此项功能已被您的浏览器禁止。关闭此窗口，然后按下“Ctrl+C”组合键完成复制。');		codeobj.focus();
	}
	codeobj.select();
   return false;
}
</script>CSS样式表实现效果很好的分页效果，在学习编程过程中由于文章内容比较多或者列表内容比较多，我们都需要分页！那么你想不想要一种好的分页效果呢？这个是我认为比较容易使用，同时编程方面也挺容易实现的分页，就是以10页为基础，然后上十页和下十页，因为很少有人有兴趣会去看10页甚至20页以后的内容 &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; /&#62; &#60;title&#62;CSS Pagination Style Template webjx.com&#60;/title&#62; &#60;style type=&#34;text/css&#34;&#62; &#60;!-- #tnt_pagination { display:block; text-align:left; height:22px; clear:both; padding-top:3px; font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:normal; } #tnt_pagination a:link, #tnt_pagination a:visited{ padding:7px; padding-top:2px; padding-bottom:2px; border:1px solid #EBEBEB; margin-left:5px; text-decoration:none; background-color:#F5F5F5; color:#0072bc; width:22px; font-weight:normal; } [...]]]></description>
		<wfw:commentRss>http://www.songlecn.com/2009/02/279/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

