<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
	<channel>
		<title>日光月美</title>
		<link>http://www.xssep.com</link>
		<description>提供丝魅,丝宝等国产丝袜,及MyWife.cc,Maxi-247等日系套图打包下载,做国内最强的套图下载站,看最幽默最冷的笑话,网页设计中的一些精品代码收录...</description>
		<generator>Rss Powered by FL&amp;Lin For Php 2.0</generator>
		<image>
			<url></url>
			<title>日光月美</title>
			<link>http://www.xssep.com</link>
		</image>
<item>

		  			<title><![CDATA[打造自己的reset.css]]></title>

		 			<link>http://www.xssep.com/view-371.html</link>

					<description><![CDATA[0，引言<br />
<br />
每每有新项目，第一步就是应当使用一个reset.css来重置样式。滥用不如不用，直接拿个现成的reset.css过来将导致后期各种离奇bug的发生。<br />
<br />
所以最好还是自己写一个reset.css，并且要明白每一条 reset都是用来做什么的。<br />
<br />
reset.css本意就是重置样式，我始终建议把.clearfix放入layout.css,而把h1、h2之类的定义放进typography.css。 <br />
<br />
<br />
具体如何规划网站CSS结构，不在文本讨论之列，可以参考Smashing Magazine上的文章，国内有差强人意的中文译版。<br />
<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Thu, 19 Nov 2009 01:14:38 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[10个 DIV+CSS常见错误]]></title>

		 			<link>http://www.xssep.com/view-367.html</link>

					<description><![CDATA[<strong>1. 检查HTML元素是否有拼写错误、是否忘记结束标记</strong><br />
即使是老手也经常会弄错div的嵌套关系。可以用dreamweaver的验证功能检查一下有无错误。<br />
<strong>2. 检查CSS是否正确</strong><br />
检查一下有无拼写错误、是否忘记结尾的 } 等。可以利用CleanCSS来检查 CSS的拼写错误。CleanCSS本是为CSS减肥的工具，但也能检查出拼写错误。<br />
<strong>3. 确定错误发生的位置</strong><br />
假如错误影响了整体布局，则可以逐个删除div块，直到删除某个div块后显示恢复正常，即可确定错误发生的位置。<br />
<strong>4. 利用border属性确定出错元素的布局特性</strong><br />
使用float属性布局一不小心就会出错。这时为元素添加border属性确定元素边界，错误原因即水落石出。<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Sat, 14 Nov 2009 17:08:51 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[关于IE6样式中背景图片不缓存的BUG]]></title>

		 			<link>http://www.xssep.com/view-226.html</link>

					<description><![CDATA[示例：<br />
<br />
a{ background:url(images/normal.gif); } a:hover { background:url(images/hover.gif); } <br />
<br />
如果为超级链接定义上述的css样式以实现鼠标悬浮时的动态效果，在firefox下是没有什么问题的，第一次加载之后，浏览器都会从缓存读取背景图片；<br />
<br />
而IE6在这里有一个bug，它每次都从服务器端读取背景图片，结果就是，若服务器反应较慢hover效果就会出现短暂的空白，令人极度不爽。 一直以来都是通过“两张背景图片合并、background-postion控制位置”的方式解决问题的，效果差强人意。<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Thu, 10 Sep 2009 23:46:44 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[css解决图片垂直居中]]></title>

		 			<link>http://www.xssep.com/view-225.html</link>

					<description><![CDATA[使用纯CSS实现未知尺寸的图片(但高宽都小于200px)在200px的正方形容器中水平和垂直居中。<textarea name="code" class="js" rows="15" cols="100" >.box {
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;/*非IE的主流浏览器识别的垂直居中的方法*/
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;display: table-cell;
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;vertical-align:middle;
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;/*设置水平居中*/
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;text-align:center;
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;/* 针对IE的Hack */
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;*display: block;
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;*font-size: 175px;/*约为高度的0.873，200*0.873 约为175*/
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;*font-family:Arial;/*防止非utf-8引起的hack失效问题，如gbk编码*/

&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;width:200px;
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;height:200px;
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;border: 1px solid #eee;
}
.box img {
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;/*设置图片垂直居中*/
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;vertical-align:middle;
}

<div class=\"box\">
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<img src=\"http://www.playgoogle.com/image/logo/playgoogleLogo.jpg\" />
</div></textarea>这种解决方法的好处是不用加一些不必要的xhtml代码。缺陷是需要已知容器的高度，在容器高度未知时，无法处理。<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Thu, 10 Sep 2009 23:43:39 +0000</pubDate>

				</item>
 <item>

		  			<title><![CDATA[三栏布局，左右固定宽度，中间自适应的一种解决方案]]></title>

		 			<link>http://www.xssep.com/view-224.html</link>

					<description><![CDATA[<span style='face:sans-serif'><span style='font-size:14px'><div class="p_ubbimg"><a href="http://www.playgoogle.com/upload/2009/8/css.jpg" class="lightbox" rel="lightbox" target="_blank"><img src="http://www.playgoogle.com/upload/2009/8/css.jpg" class="ubbimg jqimg" alt="" /></a></div></span></span><br />
<br />
如图所示，三栏布局中，左右固定宽度，中间自适应有很多总解决方法，之前也看过一篇文章In Search of the Holy Grail ，不过，就我个人而言，跟喜欢通过margin的负值来达到这种效果。<div class='xssep_help'><a href="http://www.xssep.com/view-32616.html" target="_blank"><img src="http://ww3.sinaimg.cn/bmiddle/9ca59837gw1dqsoxqjaw0j.jpg" width="222" height="67" alt="解压密码错误? 请看这儿..." /></a></div>]]></description>

					<author>日光月美</author>

					<pubDate>Thu, 10 Sep 2009 23:41:28 +0000</pubDate>

				</item>
	</channel>
</rss>