<?xml version="1.0" encoding="UTF-8"?>
  <feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html"><![CDATA[孤漠飘纱的博客]]></title>
  <subtitle type="html"><![CDATA[创造机会的人是勇者；等待机会的人是愚者]]></subtitle>
  <id>http://www.hei5.net/</id>
  <link rel="alternate" type="text/html" href="http://www.hei5.net/" /> 
  <link rel="self" type="application/atom+xml" href="http://www.hei5.net/atom.asp" /> 
  <generator uri="http://www.pjhome.net/" version="2.8">PJBlog3</generator> 
  <updated>2010-03-08T17:10:10+08:00</updated>

  <entry>
	  <title type="html"><![CDATA[css的“弹出式”图像浏览器_css教程]]></title>
	  <author>
		 <name>孤漠飘纱</name>
		 <uri>http://www.hei5.net/</uri>
		 <email>your@email.com</email>
	  </author>
	  <category term="" scheme="http://www.hei5.net/default.asp?cateID=4" label="CSS" /> 
	  <updated>2010-03-08T17:10:10+08:00</updated>
	  <published>2010-03-08T17:10:10+08:00</published>
		  <summary type="html"><![CDATA[CSS的”弹出式“图像浏览器<br/><br/>转自Dynamic Drive，纯CSS的，原理就是在a标记里面放两张图片，一张大图，一张小图，正常情况下小图可见，大图隐藏，a:hover就显示大图了<br/><br/>以下是引用片段：<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code63180);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code63180>&lt;style type=&#34;text/css&#34;&gt;<br/><br/>.thumbnail{<br/>position: relative;<br/>z-index: 0;<br/>}<br/><br/>.thumbnail:hover{<br/>background-color: transparent;<br/>z-index: 50;<br/>}<br/><br/>.thumbnail span{ /*CSS for enlarged image*/<br/>position: absolute;<br/>background-color: lightyellow;<br/>padding: 5px;<br/>left: -1000px;<br/>border: 1px dashed gray;<br/>visibility: hidden;<br/>color: black;<br/>text-decoration: none;<br/>}<br/><br/>.thumbnail span img{ /*CSS for enlarged image*/<br/>border-width: 0;<br/>padding: 2px;<br/>}<br/><br/>.thumbnail:hover span{ /*CSS for enlarged image on hover*/<br/>visibility: visible;<br/>top: 0;<br/>left: 60px; /*position wh&#101;re enlarged image should offset horizontally */<br/><br/>}<br/><br/>&lt;/style&gt;<br/>&lt;a class=&#34;thumbnail&#34; href=&#34;#thumb&#34;&gt;&lt;img src=&#34;<a href="http://www.dynamicdrive.com/cssexamples/media/tree_thumb.jpg" target="_blank" rel="external">http://www.dynamicdrive.com/cssexamples/media/tree_thumb.jpg</a>&#34; width=&#34;100px&#34; height=&#34;66px&#34; border=&#34;0&#34; /&gt;&lt;span&gt;&lt;img src=&#34;<a href="http://www.knowsky.com/http://www.dynamicdrive.com/cssexamples/media/tree.jpg" target="_blank" rel="external">http://www.knowsky.com/http://www.dynamicdrive.com/cssexamples/media/tree.jpg</a>&#34; /&gt;&lt;br /&gt;Simply beautiful.&lt;/span&gt;&lt;/a&gt;<br/><br/>&lt;a class=&#34;thumbnail&#34; href=&#34;#thumb&#34;&gt;&lt;img src=&#34;<a href="http://www.dynamicdrive.com/cssexamples/media/ocean_thumb.jpg" target="_blank" rel="external">http://www.dynamicdrive.com/cssexamples/media/ocean_thumb.jpg</a>&#34; width=&#34;100px&#34; height=&#34;66px&#34; border=&#34;0&#34; /&gt;&lt;span&gt;&lt;img src=&#34;<a href="http://www.dynamicdrive.com/cssexamples/media/ocean.jpg" target="_blank" rel="external">http://www.dynamicdrive.com/cssexamples/media/ocean.jpg</a>&#34; /&gt;&lt;br /&gt;So real, its unreal. o&#114; is it?&lt;/span&gt;&lt;/a&gt;</div></div> <br/><br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hei5.net/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp50621"><style type=&#34;text/css&#34;>

.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position wh&#101;re enlarged image should offset horizontally */

}

</style>
<a class=&#34;thumbnail&#34; href=&#34;#thumb&#34;><img src=&#34;<a href="http://www.dynamicdrive.com/cssexamples/media/tree_thumb.jpg" target="_blank" rel="external">http://www.dynamicdrive.com/cssexamples/media/tree_thumb.jpg</a>&#34; width=&#34;100px&#34; height=&#34;66px&#34; border=&#34;0&#34; /><span><img src=&#34;<a href="http://www.knowsky.com/http://www.dynamicdrive.com/cssexamples/media/tree.jpg" target="_blank" rel="external">http://www.knowsky.com/http://www.dynamicdrive.com/cssexamples/media/tree.jpg</a>&#34; /><br />Simply beautiful.</span></a>

<a class=&#34;thumbnail&#34; href=&#34;#thumb&#34;><img src=&#34;<a href="http://www.dynamicdrive.com/cssexamples/media/ocean_thumb.jpg" target="_blank" rel="external">http://www.dynamicdrive.com/cssexamples/media/ocean_thumb.jpg</a>&#34; width=&#34;100px&#34; height=&#34;66px&#34; border=&#34;0&#34; /><span><img src=&#34;<a href="http://www.dynamicdrive.com/cssexamples/media/ocean.jpg" target="_blank" rel="external">http://www.dynamicdrive.com/cssexamples/media/ocean.jpg</a>&#34; /><br />So real, its unreal. o&#114; is it?</span></a></TEXTAREA><br/><INPUT onclick="runEx('temp50621')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp50621')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp50621')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hei5.net/article.asp?id=34" /> 
	  <id>http://www.hei5.net/default.asp?id=34</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[超强，用css构建iframe效果_css教程]]></title>
	  <author>
		 <name>孤漠飘纱</name>
		 <uri>http://www.hei5.net/</uri>
		 <email>your@email.com</email>
	  </author>
	  <category term="" scheme="http://www.hei5.net/default.asp?cateID=4" label="CSS" /> 
	  <updated>2010-03-08T05:16:56+08:00</updated>
	  <published>2010-03-08T05:16:56+08:00</published>
		  <summary type="html"><![CDATA[iframe应用非常普遍，通常的需求有两种：<br/><br/>1，获取iframe效果，就是带一个滚动条，能省不少版面。<br/>2，要嵌一个页面，实现框架链接。<br/><br/>如果不方便使用iframe，能有如下解决方案：<br/><br/>第一种需求如果我们使用css布局来实现，即能少一个页面，也能提高效率。<br/>第二种需求能采用xmlhttp远程获取。<br/><br/>A. 直接模拟iframe<br/><br/>用层做容器<br/><br/>&nbsp;&nbsp;引用: <br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code51917);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code51917>#content { overflow:auto; height:200px; width:600px; background:#f00;}</div></div><br/><br/><br/>效果演示原始码：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hei5.net/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp63003"><!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34;
 &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" rel="external">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&#34;>
<html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="external">http://www.w3.org/1999/xhtml</a>&#34;>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; />
<title>用CSS构建iframe效果 - Css Iframe - RexSong.com</title>
<style>

* { font:12px Arial;}

html { overflow:hidden; border:0; height:100%;}
body { overflow:hidden; height:100%;}
#content { overflow:auto; height:185px; width:600px; background:#ccc; padding:10px;}

</style>
</head>

<body>

<h4 style=&#34;font-weight:bold;&#34;>用CSS构建iframe效果</h4>
<p>来自：<a href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>&#34; target=&#34;_self&#34;>天极网页陶吧</a></p>
<p>A. 直接模拟iframe，用层做容器</p>

<div id=&#34;content&#34;>

 <p>?<a class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>485/2354485.shtml&#34;>仅用css编写无限分级弹出菜单</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>442/2354442.shtml&#34;>浏览器滚动条的参数总结</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>436/2354436.shtml&#34;>引入css样式表的四种方式介绍</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>424/2354424.shtml&#34;>两种方式实现的文字竖排效果</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>336/2352836.shtml&#34;>网页设计高级布局40例参考</a><br />
    ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>251/2352751.shtml&#34;>从GMail认识W3C标准和Ajax</a></p>
</div>
</body>
</html></TEXTAREA><br/><INPUT onclick="runEx('temp63003')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp63003')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp63003')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/><br/><br/>用body做容器<br/>引用:<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code40167);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code40167>html { overflow:hidden; height:100%; background:#fff; border:0;}<br/>* html { padding:100px 0 0 100px;}<br/>body { overflow:scroll; background:#f00; margin:0; position:absolute; top:100px; left:100px; bottom:0; right:0;}<br/>* html body { height:100%; width:100%;}</div></div><br/><br/><br/>效果演示原始码：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hei5.net/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp80352"><!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34;
 &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" rel="external">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&#34;>
<html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="external">http://www.w3.org/1999/xhtml</a>&#34;>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; />
<title>用CSS构建iframe效果 - Css Iframe - RexSong.com</title>
<style>

* { font:12px Arial;}

html { overflow:hidden; height:100%; background:#fff; border:0;}
* html { padding:200px 0 0 100px;}
body { overflow:auto; background:#ccc; margin:0; position:absolute; top:200px; left:100px; bottom:0; right:0;}
* html body { height:100%; width:100%; position:static;}

#info { position:fixed; top:10px; left:10px;}
* html #info { position:absolute;}

</style>
<script src=&#34;<a href="http://www.knowsky.com/http://www.google-analytics.com/urchin.js" target="_blank" rel="external">http://www.knowsky.com/http://www.google-analytics.com/urchin.js</a>&#34; type=&#34;text/javascript&#34;>
</script>
<script type=&#34;text/javascript&#34;>
_uacct = &#34;UA-67927-3&#34;;
urchinTracker();
</script>
</head>

<body>

<div id=&#34;info&#34;>
 <h4 style=&#34;font-weight:bold; margin-top:0;&#34;>用CSS构建iframe效果</h4>
 <p>来自：<a href=&#34;<a href="http://homepage.yesky.com" target="_blank" rel="external">http://homepage.yesky.com</a>&#34;>天极网页陶吧</a></p>
 <p>A. 直接模拟iframe，用body做容器</p>
</div>
 <p>?<a class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>485/2354485.shtml&#34;>仅用css编写无限分级弹出菜单</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>442/2354442.shtml&#34;>浏览器滚动条的参数总结</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>436/2354436.shtml&#34;>引入css样式表的四种方式介绍</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>424/2354424.shtml&#34;>两种方式实现的文字竖排效果</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>336/2352836.shtml&#34;>网页设计高级布局40例参考</a><br />
    ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>251/2352751.shtml&#34;>从GMail认识W3C标准和Ajax</a></p>
 
</body>
</html></TEXTAREA><br/><INPUT onclick="runEx('temp80352')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp80352')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp80352')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/><br/><br/>B. 绝对定位模拟iframe<br/><br/>滚动条在外边<br/><br/><br/><br/>&nbsp;&nbsp;引用: <br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code75416);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code75416>html { overflow:hidden; border:0; height:100%; max-height:100%;}<br/>body { overflow:hidden; margin:0; height:100%; max-height:100%; position:relative;}<br/><br/>#head { position:absolute; top:0; right:15px; width:100%; height:100px; background:#f00; z-index:2;}<br/>#foot { position:absolute; bottom:0; right:15px; width:100%; background:#f00; height:50px;z-index:2;}<br/><br/>#content { height:100%; position:relative; z-index:1; overflow:auto;}</div></div><br/><br/><br/>效果演示原始码：<br/><br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hei5.net/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp81420"><!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" rel="external">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&#34;>
<html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="external">http://www.w3.org/1999/xhtml</a>&#34;>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; />
<title>用CSS构建iframe效果 - Css Iframe - RexSong.com</title>
<style>

* { font:12px Arial;}
html { overflow:hidden; border:0; height:100%;}
body { overflow:hidden; margin:0; height:100%; position:relative;}
#content { height:100%; position:relative; z-index:1; overflow:auto;}
#head { position:absolute; top:0; right:16px; width:100%; height:100px; background:#ccc; z-index:2;}
#foot { position:absolute; bottom:0; right:16px; width:100%; background:#ccc; height:50px;z-index:2;}

</style>
<script type=&#34;text/javascript&#34;>
_uacct = &#34;UA-67927-3&#34;;
urchinTracker();
</script>
</head>

<body>

<div id=&#34;head&#34;>
 <div style=&#34; padding:12px 0 0 26px;_padding:6px 0 0 26px;&#34;>
  <h4 style=&#34;font-weight:bold; margin-top:0;&#34;>用CSS构建iframe效果</h4>
<p>来自：<a href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>&#34; target=&#34;_self&#34;>天极网页陶吧</a></p>
  <p>B. 绝对定位模拟iframe，滚动条在外边</p>
 </div>
</div>
<div id=&#34;content&#34;>
 <p>?<a class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>485/2354485.shtml&#34;>仅用css编写无限分级弹出菜单</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>442/2354442.shtml&#34;>浏览器滚动条的参数总结</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>436/2354436.shtml&#34;>引入css样式表的四种方式介绍</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>424/2354424.shtml&#34;>两种方式实现的文字竖排效果</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>336/2352836.shtml&#34;>网页设计高级布局40例参考</a><br />
    ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>251/2352751.shtml&#34;>从GMail认识W3C标准和Ajax</a></p>
</div>
</body>
</html></TEXTAREA><br/><INPUT onclick="runEx('temp81420')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp81420')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp81420')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/><br/><br/>滚动条在里边<br/><br/><br/><br/>&nbsp;&nbsp;引用: <br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code69670);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code69670>html { height:100%; max-height:100%; border:0; overflow:hidden;}<br/>* html { padding:100px 0 50px 0;}<br/>body { height:100%; max-height:100%; margin:0; overflow:hidden;}<br/><br/>#content { position:absolute; top:100px; bottom:50px; left:0; right:0; z-index:3; width:100%; overflow:auto;}<br/>* html #content { top:100px; bottom:0; height:100%;}<br/><br/>#head { position:absolute; margin:0; top:0; left:0; width:100%; height:100px; background:#f00; z-index:5;}<br/>#foot { position:absolute; margin:0; bottom:0; left:0; width:100%; height:50px; z-index:5; background:#f00;}</div></div><br/><br/><br/>效果演示代码：<br/><div class="UBBPanel"><div class="UBBTitle"><img src="http://www.hei5.net/images/html.gif" style="margin:0px 2px -3px 0px"> HTML代码</div><div class="UBBContent"><TEXTAREA rows="8" id="temp6405"><!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank" rel="external">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&#34;>
<html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="external">http://www.w3.org/1999/xhtml</a>&#34;>
<head>
<meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=utf-8&#34; />
<title>用CSS构建iframe效果 - Css Iframe - RexSong.com</title>
<style type=&#34;text/css&#34;>

* { font:12px Arial;}

html { height:100%; max-height:100%; border:0; overflow:hidden;}
* html { padding:100px 0 50px 0;}
body { height:100%; max-height:100%; margin:0; overflow:hidden;}

#content { position:absolute; top:100px; bottom:50px; left:0; right:0; z-index:3; width:100%; overflow:auto;}
* html #content { top:100px; bottom:0; height:100%;}

#head { position:absolute; margin:0; top:0; left:0; width:100%; height:100px; background:#ccc; z-index:5;}
#foot { position:absolute; margin:0; bottom:0; left:0; width:100%; height:50px; z-index:5; background:#ccc;}

</style>
<script type=&#34;text/javascript&#34;>
_uacct = &#34;UA-67927-3&#34;;
urchinTracker();
</script>
</head>

<body>
<div id=&#34;head&#34;>
 <div style=&#34; padding:12px 0 0 10px;_padding:6px 0 0 10px;&#34;>
  <h4 style=&#34;font-weight:bold; margin-top:0;&#34;>用CSS构建iframe效果</h4>
<p>来自：<a href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>&#34; target=&#34;_self&#34;>天极网页陶吧</a></p>
  <p>B. 绝对定位模拟iframe，滚动条在里边</p>
 </div>
</div>

<div id=&#34;content&#34;>
 <p>?<a class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>485/2354485.shtml&#34;>仅用css编写无限分级弹出菜单</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>442/2354442.shtml&#34;>浏览器滚动条的参数总结</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>436/2354436.shtml&#34;>引入css样式表的四种方式介绍</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>424/2354424.shtml&#34;>两种方式实现的文字竖排效果</a><br />
   ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>336/2352836.shtml&#34;>网页设计高级布局40例参考</a><br />
    ?<a 
class=&#34;grey-s&#34; 
href=&#34;<a href="http://homepage.yesky.com/" target="_blank" rel="external">http://homepage.yesky.com/</a>251/2352751.shtml&#34;>从GMail认识W3C标准和Ajax</a></p>
</div>
</body>
</html></TEXTAREA><br/><INPUT onclick="runEx('temp6405')"  type="button" class="userbutton" value="运行此代码"/> <INPUT onclick="doCopy('temp6405')"  type="button" class="userbutton" value="复制此代码"/> <INPUT onclick="saveCode('temp6405')" type="button" class="userbutton" value="保存此代码"><br/> [Ctrl+A 全部选择 提示：你可先修改部分代码，再按运行]</div></div><br/><br/><br/>在IE6.0和FF1.5环境下测试通过 ]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hei5.net/article.asp?id=33" /> 
	  <id>http://www.hei5.net/default.asp?id=33</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[锦囊妙计 css实现样式布局22招_css教程]]></title>
	  <author>
		 <name>孤漠飘纱</name>
		 <uri>http://www.hei5.net/</uri>
		 <email>your@email.com</email>
	  </author>
	  <category term="" scheme="http://www.hei5.net/default.asp?cateID=4" label="CSS" /> 
	  <updated>2010-03-08T05:00:26+08:00</updated>
	  <published>2010-03-08T05:00:26+08:00</published>
		  <summary type="html"><![CDATA[　　在使用CSS建站时，你肯定遇见过形形色色的布局问题，最后可能被搞得焦头烂额。本文的目的是让你的设计过程更为容易，当你遇见困难时为你提供快速参考。<br/><br/>　　1、有疑问，先验证<br/><br/>　　在调试时，先对你的代码进行验证往往能省去不少麻烦事。格式不正确的XHTML/CSS 会导致许多布局上的错误。在其他浏览器中进行测试之前，请先在最先进的浏览器中撰写和测试CSS代码，而不是相反。<br/><br/>　　如果你在破旧的浏览器中编写和测试，你的代码就不得不依赖那个破旧浏览器的糟糕的显示，然后在符合标准的浏览器中进行测试，看到显示结果“不正常”时，你会非常沮丧的。相反，你应该先将你的代码完善，然后再设法为较低级的浏览器打算。这样从一开始你的代码就是符合标准的，你不必再为支持其他浏览器而劳心费神。当然了，目前遵从标准的浏览器无疑就是 Mozilla, Safari 或 Opera。<br/><br/>　　2、确保你想要的效果真的存在<br/><br/>　　许多特定的浏览器专有的CSS扩展在正式标准中并不存在。 如果你对 filter(滤镜) 或滚动条指定样式，你用的就是私有代码，除了IE之外，在别的浏览器中毫无作用。如果验证器告诉你代码没有定义，极有可能你用了私有样式，别指望在不同的浏览器中得到一致的效果。<br/><br/>　　3、如果布局中一定要用浮动对象，别忘了适时使用清除(clear)属性<br/><br/>　　浮动元素似易实难，而且难以驾驭。如果你发现浮动对象伸出了容器的边界，或不像你所期望的那样显示，请检查你的期望是否正确。关于这个问题请看Eric Meyer 的教程<br/><br/>　　4、边距的合并:可用padding 或 border 来避免<br/><br/>　　你可能被多余的(或想要却不出现的)空白搞得焦头烂额。如果你用了 margins，边距的合并可能就是问题的根源。 Andy Budd 对此的解释也许能为你解惑。<br/><br/>　　5、避免将 padding/border 和固定宽度同时应用到同一元素<br/><br/>　　IE5 错误的区块模型是罪魁祸首，是他把事情弄得乱七八糟。虽然有补救方案，不过最佳是绕过这个问题，当子元素的宽度固定时，为其父元素指定padding。<br/><br/>　　6、避免IE下未指定样式内容的闪烁<br/><br/>　　如果你用 @import 来输入外部样式表，早晚会发现IE有“闪烁”的毛病。在应用CSS样式之前，未格式化的HTML文本会短暂地出现。这是能避免的.<br/><br/>　　7、别指望 min-width 在IE中有用<br/><br/>　　IE不支持他，不过他将 width 当作 min-width，所以通过一些 IE 的过滤技巧(filtering)，能实现同样的最终效果。<br/><br/>　　8、走投无路时，试一试减少宽度<br/><br/>　　由于舍入误差，有时 50% 加上 50% 等于 100.1%，破坏某些浏览器中的布局。不妨试试将 50% 减到 49%，甚至 49.9%。<br/><br/>　　9、IE 中显示不正常<br/><br/>　　可能是 Peekaboo 臭虫在作怪，尤其是当鼠标经过超链接时能显示正常。修补方法见Position is Everything。<br/><br/>　　10、如果使用了锚点，在应用超链接样式时要特别小心<br/><br/>　　如果你在代码中使用了传统的锚点()，你会注意到 :hover 和 :active伪类也会作用于他。要避免这种情形，你能使用 id，或使用鲜为人知的语法: :link:hover, :link:active<br/><br/>　　11、记住“LoVe/HAte”(爱/恨)链接规则<br/><br/>　　要以下面的顺序指定超链接伪类:Link, Visited, Hover, Acitve。所有其他顺序都不妥当。如果用了 :focus，次序应为 LVHFA(“Lord Vaders Handle Formerly Anakin”，Matt Haughey这样建议)。<br/><br/>　　12、请记住“TRouBLED”(麻烦的)边框<br/><br/>　　边框(border)、边距(margin)和补白(padding)的简写次序为:顺时针方向从上开始，即 Top, Right, Bottom, Left。比如 margin: 0 1px 3px 5px;表示上边距为零，右边距为1px，依此类推。<br/><br/>　　13、非零值要指明单位<br/><br/>　　在用CSS指定字体、边距或大小时，必须指明所用的单位(唯一的例外是 line-height，非常奇怪，他不必单位)。某些浏览器对未指明单位的处理方法不足为凭。零就是零，不管是 px 还是 em。其他的非零值都要明确指定单位。例如: padding: 0 2px 0 1em;<br/><br/>　　14、测试不同的字体大小<br/><br/>　　像 Mozilla 和 Opera 这样的高级浏览器都允许你改动字体大小，不管你用什么字体单位。某些用户的默认字体大小肯定和你的不同，尽最大努力去满足他们。<br/><br/>　　15、测试时用嵌入式样式，发布时再改为外部输入<br/><br/>　　将样式表嵌入在你的 HTML 原始码中，在测试时能消除许多缓存引起的错误，尤其是某些 Mac 下的浏览器。但在发布前，一定要记住将样式表移到外部文件，用 @import 或 引入。<br/><br/>　　16、加上明显的边框有助于布局调试<br/><br/>　　像 div {border: solid 1px #f00;} 之类的全局规则能暂时为你查出布局问题。为特定的元素加上边框可帮你找到难以发觉的重叠或空白问题。<br/><br/>　　17、图片路径不要用单引号<br/><br/>　　当设置背景图片时，要坚持用双引号。尽管看起来似乎多此一举，不过如果不这么做，IE5/Mac 会噎住。<br/><br/>　　18、不要为将来的样式表(比如手持式设备或打印用样式表)“占位子”<br/><br/>　　Mac IE5 对空的样式表比较感冒，会增加页面的装入时间。建议样式表中至少应该有一条规则(哪怕是注释也好)，免得 MacIE噎住。<br/><br/>　　更有一些建议虽然不针对某些功能，不过在研发过程中值得注意：<br/><br/>　　19、好好组织你的CSS文件<br/><br/>　　恰当地成块注释CSS，将相似的CSS选择符编为一组，养成一致的命名习惯和空白格式(为跨平台考虑，建议用空白字符而不是tab。)及适当的次序。<br/><br/>　　20、以功能(而不是外观)为类和ID命名<br/><br/>　　如果你创建了一个 .smallblue 类，后来打算将文字改大，颜色变为红色，这个类名就不再有所有意义了。相反，你能用更有描述性的名字如 .copyright 和 .pullquote。<br/><br/>　　21、组合选择符<br/><br/>　　保持CSS短小对减少下载时间非常重要。请尽量为选择符分组、 利用继承(inheritance)及使用简写(shorthand)来减少冗余。<br/><br/>　　22、使用图片替换技术时要考虑亲和力<br/><br/>　　已发现传统的FIR在屏幕阅读器，及关闭图片显示[的浏览器]中会出问题。 对此有其他解决办法，要根据具体情况，慎重使用。<br/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hei5.net/article.asp?id=32" /> 
	  <id>http://www.hei5.net/default.asp?id=32</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[css属性中display和visibility的不同_css教程]]></title>
	  <author>
		 <name>孤漠飘纱</name>
		 <uri>http://www.hei5.net/</uri>
		 <email>your@email.com</email>
	  </author>
	  <category term="" scheme="http://www.hei5.net/default.asp?cateID=4" label="CSS" /> 
	  <updated>2010-03-08T04:51:41+08:00</updated>
	  <published>2010-03-08T04:51:41+08:00</published>
		  <summary type="html"><![CDATA[大多数人非常容易将CSS属性display和visibility混淆，他们看似没有什么不同，其实他们的差别却是非常大的。<br/>visibility属性用来确定元素是显示还是隐藏，这用visibility=&#34;visible|hidden&#34;来表示，visible表示显示，hidden表示隐藏。当visibility被设置为&#34;hidden&#34;的时候，元素虽然被隐藏了，但他仍然占据他原来所在的位置。例： <br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code81951);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code81951>&lt;script language=&#34;JavaScript&#34;&gt;<br/> function toggleVisibility(me){<br/>&nbsp;&nbsp;if (me.style.visibility==&#34;hidden&#34;){<br/>&nbsp;&nbsp; me.style.visibility=&#34;visible&#34;;<br/>&nbsp;&nbsp; }<br/>&nbsp;&nbsp;else {<br/>&nbsp;&nbsp; me.style.visibility=&#34;hidden&#34;;<br/>&nbsp;&nbsp; }<br/>&nbsp;&nbsp;}<br/>&lt;/script&gt;</div></div><br/><br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code1841);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code1841>&lt;div onclick=&#34;toggleVisibility(this)&#34; style=&#34;position:relative&#34;&gt;</div></div><br/>第一行文本将会触发&#34;hidden&#34;和&#34;visible&#34;属性，注意第二行的变化。&lt;/div&gt;&lt;div&gt;因为visibility会保留元素的位置，所以第二行不会移动.&lt;/div&gt;<br/><br/>效果：<br/><br/><br/>第一行文本将会触发&#34;hidden&#34;和&#34;visible&#34;属性，注意第二行的变化。<br/>因为visibility会保留元素的位置，所以第二行不会移动.<br/><br/>注意到，当元素被隐藏之后，就不能再接收到其他事件了，所以在第一段代码中，当其被设为&#34;hidden&#34;的时候，就不能再接收响应到事件了，因此也就无法通过鼠标点击第一段文本令其显示出来。另一方面，display属性就有一点不同了。visibility属性是隐藏元素但保持元素的浮动位置，而display实际上是设置元素的浮动特征。当display被设置为block(块)时，容器中所有的元素将会被当作一个独立的块，就像&lt;div&gt;元素相同，他会在那个点被放入到页面中。(实际上你能设置&lt;span&gt;的display:block，使其能像&lt;div&gt;相同工作。将display设置为inline，将使其行为和元素inline相同---即使他是普通的块元素如&lt;div&gt;，他也将会被组合成像&lt;span&gt;那样的输出流。最后是display被设置：none,这时元素实际上就从页面中被移走，他下面所在的元素就会被自动跟上填充。下面看我实例的代码和效果：<br/><br/>例：<br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code42171);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code42171>&lt;script language=&#34;JavaScript&#34;&gt;<br/> function toggleDisplay(me){<br/>&nbsp;&nbsp;if (me.style.display==&#34;block&#34;){<br/>&nbsp;&nbsp; me.style.display=&#34;inline&#34;;<br/>&nbsp;&nbsp; alert(&#34;文本目前是：inline.&#34;);<br/>&nbsp;&nbsp; }<br/>&nbsp;&nbsp;else {<br/>&nbsp;&nbsp; if (me.style.display==&#34;inline&#34;){<br/>&nbsp;&nbsp;&nbsp;&nbsp;me.style.display=&#34;none&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;alert(&#34;文本目前是:none. 3秒钟后自动重新显示。&#34;);<br/>&nbsp;&nbsp;&nbsp;&nbsp;window.setTimeout(&#34;blueText.style.display=block;&#34;,3000,&#34;JavaScript&#34;);<br/>&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp; else {<br/>&nbsp;&nbsp;&nbsp;&nbsp;me.style.display=&#34;block&#34;;<br/>&nbsp;&nbsp;&nbsp;&nbsp;alert(&#34;文本目前是:block.&#34;);<br/>&nbsp;&nbsp;&nbsp;&nbsp;}<br/>&nbsp;&nbsp; }<br/>&nbsp;&nbsp;}<br/>&lt;/script&gt;</div></div><br/><br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code68066);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code68066>&lt;div&gt;在&lt;span id=&#34;blueText&#34; onclick=&#34;toggleDisplay(this)&#34; <br/>style=&#34;color:blue;position:relative;cursor:hand;&#34;&gt;蓝色&lt;/span&gt;文字上点击来查看效果.&lt;/div&gt;</div></div><br/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hei5.net/article.asp?id=31" /> 
	  <id>http://www.hei5.net/default.asp?id=31</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[用css制作具有亲和力的表格_css教程]]></title>
	  <author>
		 <name>孤漠飘纱</name>
		 <uri>http://www.hei5.net/</uri>
		 <email>your@email.com</email>
	  </author>
	  <category term="" scheme="http://www.hei5.net/default.asp?cateID=4" label="CSS" /> 
	  <updated>2010-03-08T04:48:36+08:00</updated>
	  <published>2010-03-08T04:48:36+08:00</published>
		  <summary type="html"><![CDATA[<img src="http://www.hei5.net/download.asp?id=3" border="0" alt=""/><br/>图：颜色的选择和搭配<br/><br/>这样做的好处是： 利用表格来装载数据，不言而喻是最佳的，你能非常灵活的为每个单元格定义样式。下面是具体的做法<br/><br/>首先在photoshop设计一个效果出来，通过对各种颜色，小图标等的常识，做出了一个效果令人满意的效果图来。下一步呢，裁处下面三个图片来作为标题的背景图片，如果你对颜色的把握不是非常好的话，这里给你提供一些调色工具<br/><br/>www.snook.ca/technical/colour_contrast/colour.html<br/><br/>veerle.duoh.com/comments.php?id=108_0_2_20_C8<br/><br/>数据结构为<br/><br/>&lt;table id=&#34;mytable&#34; cellspacing=&#34;0&#34; summary=&#34;The technical<br/>specifications of the Apple PowerMac G5 series&#34;&gt;<br/>&lt;caption&gt;Table 1: Power Mac G5 tech specs &lt;/caption&gt;<br/>&lt;tr&gt;<br/>&nbsp;&nbsp;&lt;th scope=&#34;col&#34; abbr=&#34;Configurations&#34; class=&#34;nobg&#34;&gt;Configurations&lt;/th&gt;<br/>&nbsp;&nbsp;&lt;th scope=&#34;col&#34; abbr=&#34;Dual 1.8GHz&#34;&gt;Dual 1.8GHz&lt;/th&gt;<br/>&nbsp;&nbsp;&lt;th scope=&#34;col&#34; abbr=&#34;Dual 2GHz&#34;&gt;Dual 2GHz&lt;/th&gt;<br/>&nbsp;&nbsp;&lt;th scope=&#34;col&#34; abbr=&#34;Dual 2.5GHz&#34;&gt;Dual 2GHz&lt;/th&gt;<br/>&lt;/tr&gt;<br/>&lt;tr&gt;<br/>&nbsp;&nbsp;&lt;th scope=&#34;row&#34; class=&#34;spec&#34;&gt;Model&lt;/th&gt;<br/>&nbsp;&nbsp;&lt;td&gt;M9454LL/A&lt;/td&gt;<br/>&nbsp;&nbsp;&lt;td&gt;M9455LL/A&lt;/td&gt;<br/>&nbsp;&nbsp;&lt;td&gt;M9457LL/A&lt;/td&gt;<br/>&lt;/tr&gt;<br/>... <br/>能看到我用了scope 属性来确保这个表格在无视觉效果的浏览器下展示出更好的效果，这个属性定义标题元素包含的标题内容是否为 行 (scope=&#34;col&#34;) 或 列(scope=&#34;row&#34;) 。下面是CSS的内容对于上面的标题，使用和背景来更好的区分出他们<br/><br/>th {<br/>font: bold 11px &#34;Trebuchet MS&#34;, Verdana, Arial, Helvetica,<br/>sans-serif;<br/>color: #6D929B;<br/>border-right: 1px solid #C1DAD7;<br/>border-bottom: 1px solid #C1DAD7;<br/>border-top: 1px solid #C1DAD7;<br/>letter-spacing: 2px;<br/>text-transform: uppercase;<br/>text-align: left;<br/>padding: 6px 6px 6px 12px;<br/>background: #CAE8EA url(images/bg_header.jpg) no-repeat;<br/>}<br/><br/>th.nobg {<br/>border-top: 0;<br/>border-left: 0;<br/>border-right: 1px solid #C1DAD7;<br/>background: none;<br/>} <br/>下面定义左侧的标题样式<br/><br/>th.spec { <br/>border-left: 1px solid #C1DAD7;<br/>border-top: 0;<br/>background: #fff url(images/bullet1.gif) no-repeat;<br/>font: bold 10px &#34;Trebuchet MS&#34;, Verdana, Arial, Helvetica,<br/>sans-serif;<br/>}<br/><br/>th.specalt {<br/>border-left: 1px solid #C1DAD7;<br/>border-top: 0;<br/>background: #f5fafa url(images/bullet2.gif) no-repeat;<br/>font: bold 10px &#34;Trebuchet MS&#34;, Verdana, Arial, Helvetica,<br/>sans-serif;<br/>color: #B4AA9D;<br/>} <br/>这里的数据来自于MAC的technical specifications of each Power Mac G5|<a href="http://www.apple.com/powermac/specs.html" target="_blank" rel="external">http://www.apple.com/powermac/specs.html</a>下来定义普通的和重要的数据内容<br/><br/>td {<br/>border-right: 1px solid #C1DAD7;<br/>border-bottom: 1px solid #C1DAD7;<br/>background: #fff;<br/>padding: 6px 6px 6px 12px;<br/>color: #6D929B;<br/>}<br/><br/>td.alt {<br/>background: #F5FAFA;<br/>color: #B4AA9D;<br/>} <br/>至此，整个制作过程结束了<br/><br/>译者的话：这个页面经我测试通过W3C标准严格型验证，而且兼容IE，Firefox，Opera等主流浏览器，对于大量数据，能利用js实现行两种背景交替显示。<br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hei5.net/article.asp?id=30" /> 
	  <id>http://www.hei5.net/default.asp?id=30</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[针对浏览器隐藏css之九大技巧_css教程]]></title>
	  <author>
		 <name>孤漠飘纱</name>
		 <uri>http://www.hei5.net/</uri>
		 <email>your@email.com</email>
	  </author>
	  <category term="" scheme="http://www.hei5.net/default.asp?cateID=4" label="CSS" /> 
	  <updated>2010-03-08T04:44:42+08:00</updated>
	  <published>2010-03-08T04:44:42+08:00</published>
		  <summary type="html"><![CDATA[　我们都知道浏览器之间是有差异的，非常多人在使用XHTML+CSS方式制作网页的时候都曾为此无比头痛。要在这些差异的影响下工作需要非常多的技巧，“隐藏CSS”就是其中非常重要的一种技巧（甚至是最重要的）。这种技巧的主要思想是，用某些方式对某些浏览器隐藏某些重载的CSS规则。 <br/><br/>　　这篇文章并不是想教你怎么使用这种技巧，他面向的是有一定CSS基础的设计研发者，我假定你原来使用过某种隐藏CSS规则的方法。这里是想把可用的方法和被隐藏规则的浏览器都列出来，方便大家在平时工作时随时查阅。 <br/><br/>　　在这张大表里列出了九种方法，我就称其为“独孤九剑”，希望能帮上你的忙:-D <br/><br/>　　注：此表格原载 w3development.de。 <br/>　　Browser@import url(&#34;...&#34;)@import url(...)@import &#34;...&#34;media=&#34;&#34;@mediacommentattributechildTantek <br/>　　Amaya 5.1 Winx xxx <br/>　　IE 3 Winxxx xxxx <br/>　　IE 4 Winxxx xxxxx <br/>　　IE 5 Win xxxx <br/>　　IE 5.5 Win xxx <br/>　　IE 6 Win xx <br/>　　IE 4.01 Macx xxxxx <br/>　　IE 4.5 Macx xx x <br/>　　IE 5 Mac xxx <br/>　　Konqueror 2.1.1 x <br/>　　Mozilla 1.0 <br/>　　Netscape 4.xxxxxx xxx <br/>　　Netscape 6.01 <br/>　　Netscape 6.1 <br/>　　Netscape 6.2 <br/>　　Opera 3.60 Win x <br/>　　Opera 4.02 Win <br/>　　Opera 5.02 Win <br/>　　Opera 5.12 Win <br/>　　Opera Tech Preview 3 Mac <br/><br/>　　看完这张表之后我的第一反应是：Mozilla和Opera真乃神人也。只有一条规则会对Opera最老的一个版本起作用，所以后面我们在讲到隐藏规则的时候基本上就不考虑Mozilla和Opera了。下面列出这九种“剑法”的招数，同时在旁边也注上了我个人推荐的使用场合。注意，我推荐的不一定和你的需求相符，使用前请对照上面的表格。 <br/><br/>　　@import url(&#34;&#34;) <br/>　　@import url(&#34;global.css&#34;) <br/>　　对老版本（版号小于5）的浏览器隐藏规则。 <br/>　　@import url() <br/>　　@import url(global.css) <br/>　　对视窗系统平台的老版本（版号小于5）浏览器隐藏规则。 <br/>　　@import &#34;&#34; <br/>　　@import &#34;global.css&#34; <br/>　　对视窗系统平台的老版本（版号小于5）浏览器隐藏规则。 <br/>　　media=&#34;&#34; <br/>　　＜link href=&#34;global.css&#34; type=&#34;text/css&#34; rel=&#34;stylesheet&#34; media=&#34;all&#34;/＞ <br/>　　对Netscape 4.x隐藏规则。 <br/>　　@media <br/>　　@media all { <br/>　　... /* 需要隐藏的规则 */ <br/>　　} <br/>　　如果只考虑NN和IE的话就是只对4.x版本隐藏规则。 <br/>　　comment <br/>　　#anySel&#101;ctor/* */ { color:#f00; } <br/>　　这可是精确制导导弹。只对IE5及以下版本隐藏规则。所以如果要把IE5和IE5.5分开定义规则，那就靠他了。 <br/>　　attribute <br/>　　p[id] { color: #0f0; } <br/>　　又一个精确制导导弹。如果不关心老版本浏览器，那就是只对IE隐藏规则。关于属性选择器的更多信息请看W3C的文件。 <br/>　　child <br/>　　p&gt;span { color: #00f; } <br/>　　基本同上，只是Mac平台部分版本的IE支持这个规则。 <br/>　　Tantek <br/>　　p#tantek { <br/>　　voice-family: &#34;＼&#34;}＼&#34;&#34;; /* 某些浏览器有解析bug */ <br/>　　voice-family: inherit; /* 在这以下的规则都会被忽略 */ <br/>　　color: #f00; <br/>　　} <br/><br/>　　著名的隐藏CSS技巧，对所有“非现代”浏览器隐藏规则。 <br/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hei5.net/article.asp?id=29" /> 
	  <id>http://www.hei5.net/default.asp?id=29</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[Radmin的命令行参数]]></title>
	  <author>
		 <name>孤漠飘纱</name>
		 <uri>http://www.hei5.net/</uri>
		 <email>your@email.com</email>
	  </author>
	  <category term="" scheme="http://www.hei5.net/default.asp?cateID=14" label="Netbar" /> 
	  <updated>2010-02-17T05:55:30+08:00</updated>
	  <published>2010-02-17T05:55:30+08:00</published>
		  <summary type="html"><![CDATA[Radmin viewer 命令列参数 <br/><br/>　Radmin Views 有一些命令列方式的参数能用, 让你不需打开连络薄就能连上其他计算机. <br/><br/>使用方法: radmin.exe /connect:xxxxx:nnnn other_options <br/><br/>例如: <br/>radmin.exe /connect:server:1000 /fullscreen /encrypt <br/>radmin.exe /connect:10.0.0.100:4000 /telnet <br/>radmin.exe /connect:server /through:gate <br/><br/>参数: <br/>/connect:xxxxx:nnnn - 指定对方的 IP 及 port Numbe. 如果你不用连络薄, 你可用这个来连上远端的计算机. <br/><br/>/through:xxxxx:nnnn - 指定转接的机器 IP 及 port number.Radmin 能让你通过中间的 Radmin server连结到其他机器去, 这在有Firewall的网络下特别有用. <br/><br/>/telnet - 使用 telnet, 而不是图像方式 <br/><br/>/fullscreen - 指定全屏幕方式 <br/><br/>/hicolor - 使用 65536 色 来传输. <br/><br/>/noinput - 不要将自己的鼠标器及键盘讯号送到远端计算机. <br/><br/>/up&#100;ates:nn - 指定每秒最多更新几个画面 <br/><br/>/encrypt - 要对传输资料做加密. <br/><br/>/? - show help <br/><br/><br/><br/>Radmin server 命令列方式 <br/><br/>通常你能通过 Radmin 的 setup o&#114; install 程式来设定你的 Radmin server. 不过你也能使用 Radmin 的 command mode 方式来做设定. BBS.bitsCN.com网管论坛 <br/><br/>例如密码, port number等等. <br/><br/>用法: r_server.exe &lt;switches&gt; <br/><br/>/setup - 跳出一个对号方块让你能安装 service ,driver, password 及 port number. <br/>例如: r_server.exe /setup <br/><br/>[/port:xxxx] [/pass:xxxxx] - 如果没有指定参数的话, r_server 会执行成 Radmin 的服务器, 然后从你的参数或是 registry key中读取密码及port number. <br/>例如: r_server.exe <br/>例如: r_server.exe /pass:www.nz88.net <br/>例如: r_server.exe /port:5505 <br/>例如: r_server.exe /port:3333 /pass:www.nz88.net <br/><br/>/save [/port:xxxx] [/pass:xxxxx] - 把密码及port number 存到 registry key去. <br/>例如: r_server.exe /port:5505 /pass:qwerty /save <br/><br/>把密码(qwerty)及port number(5505) 存到 registry key去.,并且执行成 Radmin Server. <br/>例如: r_server.exe /save <br/>把预设的密码及port number 存到 registry key去.. <br/><br/>/install - 安装 Radmin service (for Win95/98 o&#114; WinNT) 及 NT的驱动程式. <br/><br/>注意!! 如果要安装在 NT上 趋动程式 (raddrv.dll) 必须要放到你的 System32 这目录下. <br/><br/>例如: r_server.exe /install <br/>bitsCN.Com <br/>/uninstall - 反安装你的 Radmin. <br/>例如: r_server.exe /uninstall <br/><br/>/installservice - 只装 Service 不装 driver (Win95/98 o&#114; WinNT) <br/>例如: r_server.exe /installservice <br/><br/>/uninstallservice - 只反安装 Service. <br/>注意 :如果反安装失败, 通常代表你还没把他装成 Service <br/>例如: r_server.exe /uninstallservice <br/><br/>/installdrv -只装趋动程式 (WinNT) <br/>注意: 驱动程式 (raddrv.dll) 必须要放到你的 System32 这目录下. <br/>例如: r_server.exe /installdrv <br/><br/>/uninstalldrv - uninstall the driver only. <br/><br/>注意 :如果反安装失败, 通常代表你没有装 hook driver. <br/>例如: r_server.exe /uninstalldrv <br/><br/>/silence - 不要跳出 ’error’ 或 ’ok’ 等等信息 <br/><br/>/? - shows help <br/><br/><br/>※ 本文来源： 中国X黑客小组[CnXHacker.Net] <br/><a href="http://www.sudu.cn/info/html/edu/20050125/195459.html" target="_blank" rel="external">http://www.sudu.cn/info/html/edu/20050125/195459.html</a><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hei5.net/article.asp?id=28" /> 
	  <id>http://www.hei5.net/default.asp?id=28</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[给dede评论框加入logo背景]]></title>
	  <author>
		 <name>孤漠飘纱</name>
		 <uri>http://www.hei5.net/</uri>
		 <email>your@email.com</email>
	  </author>
	  <category term="" scheme="http://www.hei5.net/default.asp?cateID=15" label="DEDEcms" /> 
	  <updated>2010-02-01T03:19:44+08:00</updated>
	  <published>2010-02-01T03:19:44+08:00</published>
		  <summary type="html"><![CDATA[要实现这个效果，需要在内容模版页里面操作。 <br/><br/>步骤一： <br/>登陆后台---模版----默认模板管理 -----选择“文章内容页模板 ” 默认是：article_article.htm <br/>步骤二： <br/>ctrl+f ----输入“发表评论”---点击 “下一个” 按钮 这些都是操作电脑的小常识，我想大家都知道吧 ，经过如上操作，能够很快的找到需要添加代码的地方 ，ok，找到 &lt;div class=&#34;dcmp-content&#34;&gt; 把如下代码粘贴到指定位置，保存，生成，就搞定了！如下：<br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code84606);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code84606>##textarea cols=&#34;60&#34; name=&#34;msg&#34; rows=&#34;5&#34; class=&#34;ipt-txt&#34; style=&#34;background:url(<img src="http://www.52bala.com/templets/images/headbj3.gif" border="0" alt=""/>) center no-repeat #fff;&#34;&gt;##/textarea&gt;</div></div><br/> <br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hei5.net/article.asp?id=27" /> 
	  <id>http://www.hei5.net/default.asp?id=27</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[DEDE心情评论插件修改版(含一周心情排行榜)+4套表情图片文件 5.5_GBK]]></title>
	  <author>
		 <name>孤漠飘纱</name>
		 <uri>http://www.hei5.net/</uri>
		 <email>your@email.com</email>
	  </author>
	  <category term="" scheme="http://www.hei5.net/default.asp?cateID=15" label="DEDEcms" /> 
	  <updated>2010-02-01T03:16:56+08:00</updated>
	  <published>2010-02-01T03:16:56+08:00</published>
		  <summary type="html"><![CDATA[<br/><img src="http://bbs.dedecms.com/attachment/7_107788_a3aa2fac812b9c9.jpg" border="0" alt=""/><br/><img src="http://bbs.dedecms.com/attachment/7_107788_47ec61d01363c03.jpg" border="0" alt=""/><br/><img src="http://bbs.dedecms.com/attachment/7_107788_c0a8f9250ae89e2.jpg" border="0" alt=""/><br/><img src="http://bbs.dedecms.com/attachment/7_107788_d7769afd9ff567b.jpg" border="0" alt=""/><br/><br/>此插件基于DEDECMS_55_GBK默认模板，模板路径为templets\default\，请以前修改过默认路径的自行修改相关文件及设置。<br/><br/>mood_ranking.htm文件中的网站名称、导航栏目、广告调用请自行修改。<br/>表情图片展示<br/>安装<br/>将解压后的plus和templets文件夹上传至网站根目录。<br/><br/><br/>在网站管理后台SQL命令运行器中运行以下命令：<br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code51494);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code51494>Cr&#101;ate TABLE `#@__mood` ( <br/>&nbsp;&nbsp;`id` int(11) NOT NULL auto_increment, <br/>&nbsp;&nbsp;`aid` int(11) NOT NULL, <br/>&nbsp;&nbsp;`mood1` int(10) NOT NULL default &#39;0&#39;, <br/>&nbsp;&nbsp;`mood2` int(10) NOT NULL default &#39;0&#39;, <br/>&nbsp;&nbsp;`mood3` int(10) NOT NULL default &#39;0&#39;, <br/>&nbsp;&nbsp;`mood4` int(10) NOT NULL default &#39;0&#39;, <br/>&nbsp;&nbsp;`mood5` int(10) NOT NULL default &#39;0&#39;, <br/>&nbsp;&nbsp;`mood6` int(10) NOT NULL default &#39;0&#39;, <br/>&nbsp;&nbsp;`mood7` int(10) NOT NULL default &#39;0&#39;, <br/>&nbsp;&nbsp;`mood8` int(10) NOT NULL default &#39;0&#39;, <br/>&nbsp;&nbsp;PRIMARY KEY&nbsp;&nbsp;(`id`) <br/>) ENGINE=MyISAM;<br/>Cr&#101;ate TABLE `#@__mood_ranking` ( <br/>&nbsp;&nbsp;`id` int(11) NOT NULL auto_increment, <br/>&nbsp;&nbsp;`aid` int(10) NOT NULL, <br/>&nbsp;&nbsp;`mood` int(1) NOT NULL, <br/>&nbsp;&nbsp;`time` int(11) NOT NULL, <br/>&nbsp;&nbsp;`ip` varchar(15) NOT NULL, <br/>&nbsp;&nbsp;PRIMARY KEY&nbsp;&nbsp;(`id`), <br/>&nbsp;&nbsp;KEY `aid` (`mood`,`aid`,`time`,`ip`) <br/>) ENGINE=MyISAM;</div></div><br/><br/><br/><br/>在内容页模板文件article_article.htm里&lt;/head&gt;前面加入以下代码<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code52562);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code52562>&lt;!--Ray:mood code start--&gt; <br/>&lt;script language=&#39;javascript&#39; type=&#39;text/javascript&#39; src=&#39;{dede:global.cfg_cmsurl/}/include/dedeajax2.js&#39;&gt;&lt;/script&gt; <br/>&lt;script language=&#34;javascript&#34;&gt; <br/>function mood(){ <br/>&nbsp;&nbsp;var mood_obj = document.getElementById(&#39;_mood&#39;); <br/>&nbsp;&nbsp;myajax = new DedeAjax(mood_obj,false,false,&#34;&#34;,&#34;&#34;,&#34;&#34;); <br/>&nbsp;&nbsp;myajax.SendGet2(&#34;{dede:global name=&#39;cfg_phpurl&#39;/}/mood/mood.php?aid={dede:field name=&#39;aid&#39;/}&amp;up=&#34;+10*Math.random()); <br/>&nbsp;&nbsp;DedeXHTTP = null; <br/>} <br/>function moodGet(mood) <br/>{ <br/>&nbsp;&nbsp;var mood_obj = document.getElementById(&#39;_mood&#39;); <br/>&nbsp;&nbsp;myajax = new DedeAjax(mood_obj,false,false,&#34;&#34;,&#34;&#34;,&#34;&#34;); <br/>&nbsp;&nbsp;myajax.SendGet2(&#34;{dede:global name=&#39;cfg_phpurl&#39;/}/mood/mood.php?aid={dede:field name=&#39;aid&#39;/}&amp;action=mood&amp;mood=&#34;+mood+&#34;&amp;up=&#34;+10*Math.random()); <br/>&nbsp;&nbsp;myajax = null; <br/>} <br/>&lt;/script&gt; <br/>&lt;!--Ray:mood code end--&gt;</div></div><br/><br/><br/>然后在在内容页模板文件article_article.htm调用心情投票的地方插入以下代码<br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code49357);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code49357>&lt;!--Ray:mood code transfer start--&gt;<br/>&lt;div id=&#34;_mood&#34;&gt;数据统计中，请稍等！&lt;/div&gt;<br/>&lt;script language=&#34;JavaScript&#34;&gt;mood();&lt;/script&gt;<br/>&lt;!--Ray:mood code transfer end--&gt;</div></div><br/>改完后<br/>清除后台缓存，更新HTML，插件安装成功。<br/>如果你的网站模板是原有的系统模板，那么就不需要设置内容页模板文件article_article.htm，直接用我们备份好的内容模板文件article_article.htm、覆盖原有的文件就可以<br/><br/>下载地址<br/><script>Hidden('v618eyhcne')</script><div class="UBBPanel" id="hidden1_v618eyhcne"><div class="UBBTitle"><img src="http://www.hei5.net/images/quote.gif" style="margin:0px 2px -3px 0px" alt="显示被隐藏内容"/> 显示被隐藏内容</div><div class="UBBContent"><a target="_blank" href="http://down.qiannao.com/space/file/cnfri/share/2010/2/1/dede-6587-7ae0-9875-5fc3-60c5-8c03-67e5-8bc4-8bba-7f8e-5316-63d2-4ef6_4-79cd-8868-60c5-56fe-7247.rar/.page" rel="external">http://down.qiannao.com/space/file/cnfri/share/2010/2/1/dede-6587-7ae0-9875-5fc3-60c5-8c03-67e5-8bc4-8bba-7f8e-5316-63d2-4ef6_4-79cd-8868-60c5-56fe-7247.rar/.page</a></div></div><div class="UBBPanel" id="hidden2_v618eyhcne"><div class="UBBTitle"><img src="http://www.hei5.net/images/quote.gif" style="margin:0px 2px -3px 0px" alt="隐藏内容"/> 隐藏内容</div><div class="UBBContent">该内容已经被作者隐藏,只有会员才允许查阅 <a href="http://www.hei5.net/login.asp">登录</a> | <a href="http://www.hei5.net/register.asp">注册</a></div></div>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hei5.net/article.asp?id=26" /> 
	  <id>http://www.hei5.net/default.asp?id=26</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[用P处理命令修改指定系统时间]]></title>
	  <author>
		 <name>孤漠飘纱</name>
		 <uri>http://www.hei5.net/</uri>
		 <email>your@email.com</email>
	  </author>
	  <category term="" scheme="http://www.hei5.net/default.asp?cateID=14" label="Netbar" /> 
	  <updated>2010-01-31T23:37:40+08:00</updated>
	  <published>2010-01-31T23:37:40+08:00</published>
		  <summary type="html"><![CDATA[用P处理命令修改指定系统时间<br/><br/><div class="UBBPanel codePanel"><div class="UBBTitle"><a onClick="copycode(code24904);" style="float:right;cursor: pointer;font-weight: normal; font-style: normal">复制内容到剪贴板</a><img src="http://www.hei5.net/images/code.gif" style="margin:0px 2px -3px 0px;" alt="程序代码"/> 程序代码</div><div class="UBBContent" id=code24904>date 2010-03-14<br/>time 20:20</div></div><br/><br/>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.hei5.net/article.asp?id=25" /> 
	  <id>http://www.hei5.net/default.asp?id=25</id>
  </entry>	
		
</feed>
