<?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>xiaofeng&#039;s blog &#187; 网站开发</title>
	<atom:link href="http://shenxf.com/tag/%e7%bd%91%e7%ab%99%e5%bc%80%e5%8f%91/feed" rel="self" type="application/rss+xml" />
	<link>http://shenxf.com</link>
	<description>&#60;seo&#62;......&#60;/seo&#62;</description>
	<lastBuildDate>Wed, 14 Dec 2011 18:37:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>网站开发少走弯路的18条心得</title>
		<link>http://shenxf.com/2010-04/website-develop-18-tips.html</link>
		<comments>http://shenxf.com/2010-04/website-develop-18-tips.html#comments</comments>
		<pubDate>Sun, 04 Apr 2010 11:25:25 +0000</pubDate>
		<dc:creator>小锋</dc:creator>
				<category><![CDATA[网站建设]]></category>
		<category><![CDATA[网站开发]]></category>

		<guid isPermaLink="false">http://shenxf.com/?p=135</guid>
		<description><![CDATA[<p>1、xml文件尽量以utf-8编码，gb2312有些字是存储不了的，如?,就算能存也需要转换，比较麻烦，utf-8也符合国际规范。</p>
<p>2、CSS中:hover这个伪类，如果放在:visited前面则会失效。</p>
<p>3、&lt;a&gt;标签如果没有href属性，所有对它的css的伪类如:hover均失效。</p>
<p>4、js文件中用document.wirte(&#8220;&lt;script language=’javascript’ src=’&#8221; + file + &#8220;’&gt;&lt;/&#8221; + &#8220;script&gt;&#8221;形式的引用，其file相对路径均为引用该js的html的路径。</p>
<p>如：a.htm 引用xb.js,b.js引用xc.js,则file应该为xc.js而不是相对b.js的直接路径c.js，而css中的@import,url()引用不存在这个问题</p>
<p>5、在页面中，有时talbe的宽设置为100%右边也会留下一个滚动条的空白，请设置&lt;body style=&#8221;overflow:auto&#8221;&gt;</p>
<p>6、对于常用的图片不要用img标签，使用&lt;span&gt;&lt;a&gt;并用css指定其背景和宽高，对于做动态的（移上去变背景），使用&lt;a&gt;最好，不......<a href='http://shenxf.com/2010-04/website-develop-18-tips.html' rel="nofollow">查看<?php the_title(); ?>全文</a></p>阅读了本文的人还看了: WMAP中在MySQL添加或修改记录时自动更新时间戳 月光论坛被爆泄密 Google企业邮箱设置 如何去掉wordpress主题上的版权信息 由买茶叶想到的职业化概念
阅读了本文的人还看了:<ol>
<li><a href='http://shenxf.com/2011-09/mysql-add-or-update-refresh-the-timestamp.html' rel='bookmark' title='WMAP中在MySQL添加或修改记录时自动更新时间戳'>WMAP中在MySQL添加或修改记录时自动更新时间戳</a></li>
<li><a href='http://shenxf.com/2010-05/moon-bbs-blow-the-gaff.html' rel='bookmark' title='月光论坛被爆泄密'>月光论坛被爆泄密</a></li>
<li><a href='http://shenxf.com/2011-04/google-app-email-setup.html' rel='bookmark' title='Google企业邮箱设置'>Google企业邮箱设置</a></li>
<li><a href='http://shenxf.com/2010-06/how-to-get-rid-of-the-copyright-from-wordpress.html' rel='bookmark' title='如何去掉wordpress主题上的版权信息'>如何去掉wordpress主题上的版权信息</a></li>
<li><a href='http://shenxf.com/2010-04/professional-example-1.html' rel='bookmark' title='由买茶叶想到的职业化概念'>由买茶叶想到的职业化概念</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>1、xml文件尽量以utf-8编码，gb2312有些字是存储不了的，如?,就算能存也需要转换，比较麻烦，utf-8也符合国际规范。</p>
<p>2、CSS中:hover这个伪类，如果放在:visited前面则会失效。</p>
<p>3、&lt;a&gt;标签如果没有href属性，所有对它的css的伪类如:hover均失效。</p>
<p>4、js文件中用document.wirte(&#8220;&lt;script language=’javascript’ src=’&#8221; + file + &#8220;’&gt;&lt;/&#8221; + &#8220;script&gt;&#8221;形式的引用，其file相对路径均为引用该js的html的路径。</p>
<p>如：a.htm 引用xb.js,b.js引用xc.js,则file应该为xc.js而不是相对b.js的直接路径c.js，而css中的@import,url()引用不存在这个问题</p>
<p>5、在页面中，有时talbe的宽设置为100%右边也会留下一个滚动条的空白，请设置&lt;body style=&#8221;overflow:auto&#8221;&gt;</p>
<p>6、对于常用的图片不要用img标签，使用&lt;span&gt;&lt;a&gt;并用css指定其背景和宽高，对于做动态的（移上去变背景），使用&lt;a&gt;最好，不......<a href='http://shenxf.com/2010-04/website-develop-18-tips.html' rel="nofollow">查看<?php the_title(); ?>全文</a></p><p>阅读了本文的人还看了:<ol>
<li><a href='http://shenxf.com/2011-09/mysql-add-or-update-refresh-the-timestamp.html' rel='bookmark' title='WMAP中在MySQL添加或修改记录时自动更新时间戳'>WMAP中在MySQL添加或修改记录时自动更新时间戳</a></li>
<li><a href='http://shenxf.com/2010-05/moon-bbs-blow-the-gaff.html' rel='bookmark' title='月光论坛被爆泄密'>月光论坛被爆泄密</a></li>
<li><a href='http://shenxf.com/2011-04/google-app-email-setup.html' rel='bookmark' title='Google企业邮箱设置'>Google企业邮箱设置</a></li>
<li><a href='http://shenxf.com/2010-06/how-to-get-rid-of-the-copyright-from-wordpress.html' rel='bookmark' title='如何去掉wordpress主题上的版权信息'>如何去掉wordpress主题上的版权信息</a></li>
<li><a href='http://shenxf.com/2010-04/professional-example-1.html' rel='bookmark' title='由买茶叶想到的职业化概念'>由买茶叶想到的职业化概念</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://shenxf.com/2010-04/website-develop-18-tips.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

