<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[中国龙博客]]></title> 
<link>http://www.nagadreams.cn/blog/index.php</link> 
<description><![CDATA[专注互联网、网站程序开发和搜索引擎的IT评论博客]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[中国龙博客]]></copyright>
<item>
<link>http://www.nagadreams.cn/blog/read.php/305.htm</link>
<title><![CDATA[学习CSS先认识浏览器 熟悉Web标准]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[CSS教程]]></category>
<pubDate>Thu, 30 Oct 2008 16:44:40 +0000</pubDate> 
<guid>http://www.nagadreams.cn/blog/read.php/305.htm</guid> 
<description>
<![CDATA[ 
	　　我们都知道，要做WD（web designer）,首先得伺侯好几个浏览器:IE6,IE7,Firefox.一般的页面，都只要求在IE6,IE7,Firefox下正常工作就行了。<br /><br />　　但是实际上，浏览器远远不止这几个,Firefox分为Firefox 1.5,Firefox 2,Firefox 3几个主要版本，IE7,IE6 中也各有好几个系列,另外除开这两个主流厂商的产品之外，还有Opera,Konqueror,Netscape,chrome等一系列。<br/>............<br/><br/>Tags - <a href="http://www.nagadreams.cn/blog/go.php/tags/%25E4%25B8%25AD%25E5%259B%25BD%25E9%25BE%2599/" rel="tag">中国龙</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/css%25E6%2595%2599%25E7%25A8%258B/" rel="tag">css教程</a>
]]>
</description>
</item><item>
<link>http://www.nagadreams.cn/blog/read.php/304.htm</link>
<title><![CDATA[挺不错的CSS颜色搭配]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[CSS教程]]></category>
<pubDate>Tue, 28 Oct 2008 13:27:41 +0000</pubDate> 
<guid>http://www.nagadreams.cn/blog/read.php/304.htm</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;#EFF7FF #96C2F1<br />&nbsp;&nbsp;&nbsp;&nbsp;#F0FBEB #9BDF70<br />&nbsp;&nbsp;&nbsp;&nbsp;#FFFFFF #92B0DD<br />&nbsp;&nbsp;&nbsp;&nbsp;#EEFAFF #BBE1F1<br />&nbsp;&nbsp;&nbsp;&nbsp;#FAFCFD #CCEFF5<br/>............<br/><br/>Tags - <a href="http://www.nagadreams.cn/blog/go.php/tags/%25E4%25B8%25AD%25E5%259B%25BD%25E9%25BE%2599/" rel="tag">中国龙</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/css%25E6%2595%2599%25E7%25A8%258B/" rel="tag">css教程</a>
]]>
</description>
</item><item>
<link>http://www.nagadreams.cn/blog/read.php/303.htm</link>
<title><![CDATA[CSS 浏览器的等宽空格 ]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[CSS教程]]></category>
<pubDate>Tue, 28 Oct 2008 13:23:52 +0000</pubDate> 
<guid>http://www.nagadreams.cn/blog/read.php/303.htm</guid> 
<description>
<![CDATA[ 
	<p>很多时候，希望能够在 HTML 中使用空格排版。但浏览器在解析 HTML 时，会把连续的空格解析成一个，所以我们会使用 &amp;nbsp; 等这样的占位符。</p> <p>但是 &amp;nbsp; 也不是很可靠，比如空格间距非常大，那么我们必须增加多个占位符，同时页面的体积会变得非常大。</p> <p>同时，注意到 Safari 中的 &amp;nbsp; 宽度是已设定字符的空格宽度（Safari 的默认字体为 Times），也就是说一个中文字符需要两个占位符。</p> <p>具体情况如下图所示：<br/>............<br/><br/>Tags - <a href="http://www.nagadreams.cn/blog/go.php/tags/css%25E6%2595%2599%25E7%25A8%258B/" rel="tag">css教程</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/%25E4%25B8%25AD%25E5%259B%25BD%25E9%25BE%2599/" rel="tag">中国龙</a>
]]>
</description>
</item><item>
<link>http://www.nagadreams.cn/blog/read.php/302.htm</link>
<title><![CDATA[如何用CSS控制图片自适应大小？]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[CSS教程]]></category>
<pubDate>Mon, 27 Oct 2008 12:18:10 +0000</pubDate> 
<guid>http://www.nagadreams.cn/blog/read.php/302.htm</guid> 
<description>
<![CDATA[ 
	图片自动适应大小是一个非常常用的功能，在进行制作的时候为了防止图片撑开容器而对图片的尺寸进行必要的控制，我们可不可以用<a href="http://www.blue1000.com/bkhtml/c23/" title="CSS教程">CSS</a>控制图片使它自适应大小呢？<br /><br />　　我们想到了一个比较简单的解决方法，虽然不是非常的完美，如果您的要求不是非常高，已经可以满足你的需要了。我们看下面的代码：<br /><br /> <div class="UBBPanel"> <div class="UBBContent"> <table border="0" cellspacing="0" cellpadding="6" width="95%" align="center" style="border: 1px dotted #cccccc; table-layout: fixed"> <tbody> <tr> <td bgcolor="#f3f3f3">div&nbsp;img&nbsp;&#123;<br />&nbsp;max-width:600px;<br />&nbsp;width:600px;<br />&nbsp;width:expression(document.body.clientWidth&gt;600?&quot;600px&quot;:&quot;auto&quot;);<br />&nbsp;overflow:hidden;<br />&#125;&nbsp;</td></tr></tbody></table></div></div><br />　◎&nbsp;max-width:600px;&nbsp;在IE7、FF等其他非IE浏览器下最大宽度为600px。但在IE6中无效。<br/>............<br/><br/>Tags - <a href="http://www.nagadreams.cn/blog/go.php/tags/css%25E6%2595%2599%25E7%25A8%258B/" rel="tag">css教程</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/%25E4%25B8%25AD%25E5%259B%25BD%25E9%25BE%2599/" rel="tag">中国龙</a>
]]>
</description>
</item><item>
<link>http://www.nagadreams.cn/blog/read.php/301.htm</link>
<title><![CDATA[收藏的CSS经典技巧之一]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[CSS教程]]></category>
<pubDate>Mon, 27 Oct 2008 12:14:37 +0000</pubDate> 
<guid>http://www.nagadreams.cn/blog/read.php/301.htm</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp; 一、CSS字体属性简写规则 一般用CSS设定字体属性是这样做的: font-weight: bold; font- style: italic; font-varient: small-caps; font-size: 1em; line- height: 1.5em; font-family: verdana,sans-serif 但也可以把它们全部写到一行上去: font: bold italic small-caps 1em/1.5em verdana,sans-serif 真不错!只有一点要提醒的:这种简写方法只有在同时指定font-size和font-family属性时才起作用.而且,如果你没有设定font-weight, font- style, 以及 font-varient ,他们会使用缺省值,这点要记上.<br/>............<br/><br/>Tags - <a href="http://www.nagadreams.cn/blog/go.php/tags/%25E4%25B8%25AD%25E5%259B%25BD%25E9%25BE%2599/" rel="tag">中国龙</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/css%25E6%2595%2599%25E7%25A8%258B/" rel="tag">css教程</a>
]]>
</description>
</item><item>
<link>http://www.nagadreams.cn/blog/read.php/300.htm</link>
<title><![CDATA[什么是div+css与xhtml+css]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[CSS教程]]></category>
<pubDate>Fri, 24 Oct 2008 12:17:12 +0000</pubDate> 
<guid>http://www.nagadreams.cn/blog/read.php/300.htm</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp; 不知道从什么时候开始,在网络上到处可以看到div+<a href="http://www.nagadreams.cn/go.php/category/20/" target="_blank" title="http://www.nagadreams.cn/go.php/category/20/" class="mykeyword">css</a>,到底什么是div+css呢?难道就是传说中的标准重构吗?标准从最简单的根源来说不是合理使用xhtml的标签吗?可为什么还是有这么多div+css呢?既然可以div+css,那为什么不可以叫 span+css ul+css li+css等等呢?<br /><br />&nbsp;&nbsp;&nbsp; 疑问,满脑子的疑问!为了这个疑问,我把自己脑子里的东西从最底层翻了一遍.<br /><br />&nbsp;&nbsp;&nbsp; 在几年前大家都是用table来布局,一层套一层,没发现什么不妥,一直用到《网站重构》这本书出来后的不久开始看到很多人讨论重构.当时的我对所谓的重构一点都不清楚,当然啦,现在还不是很清楚,至于《网站重构》这本书我也没看过几页,不敢说自己什么都了解.但就目前而言,还是有很多朋友是从 table布局转变过来,也包括我自己在内.<br /><br />&nbsp;&nbsp;&nbsp; 看了网上很多教程以及很多朋友的文章或者是提到的问题,代码结构中少不了的是div.甚至看到代码结构中除了div标签在body中外,找不到其他用来处理结构的标签了.或许就是因为如此,才出现了div+css,用div来做布局,结合 css来表现样式,那这样就是标准了?<br /><br />&nbsp;&nbsp;&nbsp; 是把table换成了div,把td换成ul来排列后,那其他xhtml的标签怎么办呢?<br /><br />&nbsp;&nbsp;&nbsp; 或许有朋友会说&quot;我是用div来布局,所以要叫div+css,而且现在大家都这样叫啊&quot;.嗯,没错,因为div在xhtml中没有语意(也可以称为区域划分、部分),而且是块元素,用在布局方面比较合理.但如果因为如此而把div独立出来称呼为了div+css,貌似跟xhtml可以平起平坐了.就好比你的辈分原本就是晚辈,却跑去跟长辈争上座,太不像话了,不是吗?<br /><br />&nbsp;&nbsp;&nbsp; 说了这么多,无非是想希望大家以后不要再说div+css了,为什么不能再多打2个字母,改叫xhtml+css呢?如果觉得这样还不妥,那就叫网站重构吧,你也可以称自己为网站重构工程师,多好听的名字呢,总不能让别人叫你div+css人员吧.他们还是推荐大家少用div,多合理的使用标签,不要遗忘了在xhtml中还有p,form诸多的标签.合理的使用标签,合理的页面结构才会让你的站点更容易被搜索找到重要内容.简单说吧,大家都知道hn(n=1,2,3,4,5,6)是用在标题,那 p,form,table是不是也可以让他们有自己在页面结构中的一个位置呢?<br /><br />&nbsp;&nbsp;&nbsp; 以上只是个人在文字方面对网络上到处可见的div+css一些看法,文字表达方面不对的地方大家批评,但最终希望的大家明白,div+css只是一种通俗的称谓,div不是主要的东西,主要的是xhtml.<br /><br/>Tags - <a href="http://www.nagadreams.cn/blog/go.php/tags/css/" rel="tag">css</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/%25E4%25B8%25AD%25E5%259B%25BD%25E9%25BE%2599/" rel="tag">中国龙</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/div/" rel="tag">div</a>
]]>
</description>
</item><item>
<link>http://www.nagadreams.cn/blog/read.php/297.htm</link>
<title><![CDATA[DIV CSS最有可能遇到的八个面试问题]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[CSS教程]]></category>
<pubDate>Mon, 20 Oct 2008 14:26:14 +0000</pubDate> 
<guid>http://www.nagadreams.cn/blog/read.php/297.htm</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp; 现在相关单位招聘美工,都有DIV CSS布局方面的知识要求,现列举DIV CSS最有可能遇到的八个面试问题,希望对您有所帮助,在52CSS.com上,有很多相关的知识,大家可以多多学习.<br />&nbsp;&nbsp;&nbsp; 一、超链接访问过后hover样式就不出现的问题?<br/>............<br/><br/>Tags - <a href="http://www.nagadreams.cn/blog/go.php/tags/css/" rel="tag">css</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/%25E4%25B8%25AD%25E5%259B%25BD%25E9%25BE%2599/" rel="tag">中国龙</a>
]]>
</description>
</item><item>
<link>http://www.nagadreams.cn/blog/read.php/286.htm</link>
<title><![CDATA[css一招解决不同浏览器页面错位]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[CSS教程]]></category>
<pubDate>Wed, 01 Oct 2008 14:48:08 +0000</pubDate> 
<guid>http://www.nagadreams.cn/blog/read.php/286.htm</guid> 
<description>
<![CDATA[ 
	<span class="t18"><p>用CSS+DIV来写网站代码的好处显而易见，这里不多说了，但由于不同浏览器对CSS的解释不统一，造成不同浏览器下页面错位的现象十分常见&hellip;&hellip;<br />页面乱的原因是因为IE6认为一个DIV超宽了，所以把本应float;right的DIV挤了下去。而如果设置为IE6下显示正常的宽度，则在IE7和<span class="ReplaceKeyword">Firefox</span>下看页面就会少了一块一样，也很别扭&hellip;.&nbsp; <br/>............<br/><br/>Tags - <a href="http://www.nagadreams.cn/blog/go.php/tags/%25E4%25B8%25AD%25E5%259B%25BD%25E9%25BE%2599/" rel="tag">中国龙</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/css%25E6%2595%2599%25E7%25A8%258B/" rel="tag">css教程</a>
]]>
</description>
</item><item>
<link>http://www.nagadreams.cn/blog/read.php/285.htm</link>
<title><![CDATA[Css中的filter常用滤镜属性及语句大全]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[CSS教程]]></category>
<pubDate>Wed, 01 Oct 2008 14:30:54 +0000</pubDate> 
<guid>http://www.nagadreams.cn/blog/read.php/285.htm</guid> 
<description>
<![CDATA[ 
	滤镜说明：<br />Alpha：设置透明层次.<br />blur：创建高速度移动效果，即模糊效果.<br />Chroma：制作专用颜色透明.<br />DropShadow：创建对象的固定影子.<br/>............<br/><br/>Tags - <a href="http://www.nagadreams.cn/blog/go.php/tags/css%25E6%2595%2599%25E7%25A8%258B/" rel="tag">css教程</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/%25E4%25B8%25AD%25E5%259B%25BD%25E9%25BE%2599/" rel="tag">中国龙</a>
]]>
</description>
</item><item>
<link>http://www.nagadreams.cn/blog/read.php/283.htm</link>
<title><![CDATA[目前流行的CSS+DIV的命名规则]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[CSS教程]]></category>
<pubDate>Tue, 30 Sep 2008 15:55:35 +0000</pubDate> 
<guid>http://www.nagadreams.cn/blog/read.php/283.htm</guid> 
<description>
<![CDATA[ 
	　　搜索引擎优化(seo)有很多工作要做，其中对代码的优化是一个很关键的步骤。为了更加符合SEO的规范，下面是目前流行的CSS+DIV的命名规则：<br/>............<br/><br/>Tags - <a href="http://www.nagadreams.cn/blog/go.php/tags/css%25E6%2595%2599%25E7%25A8%258B/" rel="tag">css教程</a> , <a href="http://www.nagadreams.cn/blog/go.php/tags/%25E4%25B8%25AD%25E5%259B%25BD%25E9%25BE%2599/" rel="tag">中国龙</a>
]]>
</description>
</item>
</channel>
</rss>