<?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>杨琪琪</title>
	<atom:link href="http://www.yangqiqi.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yangqiqi.com</link>
	<description>杨琪琪</description>
	<lastBuildDate>Thu, 16 Feb 2012 19:56:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>wordpress模板——美食餐饮网站必备主题下载</title>
		<link>http://www.yangqiqi.com/wordpress_mo_ban_mei_shi_can_yin_wang_zhan_bi_bei_zhu_ti_xia_zai/</link>
		<comments>http://www.yangqiqi.com/wordpress_mo_ban_mei_shi_can_yin_wang_zhan_bi_bei_zhu_ti_xia_zai/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 11:34:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Templates]]></category>

		<guid isPermaLink="false">http://www.yangqiqi.com/?p=6874</guid>
		<description><![CDATA[Pluto Fullscreen Cafe and Restaurant 查看更多 / 下载 FoodMe Restaurant Business Theme 查看更多 / 下载 The Restaurant 查看更多 / 下载 Feast! 查看更多 Palazzo Di Sole 查看更多 Bon Apetit 查看更多 Monmarthe Cafeteria 查看更多 Sofa Restaurant 查看更多]]></description>
			<content:encoded><![CDATA[<h4>Pluto Fullscreen Cafe and Restaurant</h4>
<p><img alt="wordpress模板——美食餐饮网站必备主题下载" class="alignnone  wp-image-114535" height="255" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/113508Ty6.png" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid" title="pluto" width="626" /></p>
<p><a href="http://themeforest.net/item/pluto-fullscreen-cafe-and-restaurant/full_screen_preview/534738?ref=ccaopengg" target="_blank">查看更多</a> / <a href="http://themeforest.net/item/pluto-fullscreen-cafe-and-restaurant/534738?ref=ccaopengg" target="_blank">下载</a></p>
<h4>FoodMe Restaurant Business Theme</h4>
<p><img alt="wordpress模板——美食餐饮网站必备主题下载" class="alignnone  wp-image-114537" height="268" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/113539BLN.png" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid" title="foodme" width="628" /></p>
<p><a href="http://themeforest.net/item/wordpress-foodme-restaurant-business-theme/full_screen_preview/684900?ref=ccaopengg" target="_blank">查看更多</a> / <a href="http://themeforest.net/item/wordpress-foodme-restaurant-business-theme/684900?ref=ccaopengg" target="_blank">下载</a></p>
<h4>The Restaurant</h4>
<p><img alt="the restaurant menu templates wordpress" height="344" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/113607jTn.png" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid" title="the restaurant" width="626" /></p>
<p><a href="http://themeforest.net/item/the-restaurant/full_screen_preview/111482?ref=ccaopengg" target="_blank">查看更多</a> / <a href="http://themeforest.net/item/the-restaurant/111482?ref=ccaopengg" target="_blank">下载</a></p>
<h4>Feast!</h4>
<h4><img alt="feast restaurant menu templates" class="alignnone size-large wp-image-106658" height="278" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/113643cdv.png" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid" title="feast" width="626" /></h4>
<p><a href="http://themeforest.net/item/feast-facebook-fanpage-wordpress-theme/461906?ref=ccaopengg" target="_blank">查看更多</a></p>
<h4>Palazzo Di Sole</h4>
<h4><a href="http://themeforest.net/item/palazzo-di-sole/full_screen_preview/154918?ref=ccaopengg" target="_blank"><img alt="Palazzo Di Sole" border="0" height="322" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/113657iTQ.jpg" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" width="627" title="wordpress模板——美食餐饮网站必备主题下载" /></a></h4>
<p><a href="http://themeforest.net/item/palazzo-di-sole/full_screen_preview/154918?ref=ccaopengg" target="_blank">查看更多</a></p>
<h4>Bon Apetit</h4>
<h4><a href="http://themeforest.net/item/bon-apetit-restaurant-or-coffee-shop-template/full_screen_preview/70484?ref=ccaopengg" target="_blank"><img alt="Bon Apetite" border="0" height="322" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/113710fc1.jpg" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" width="626" title="wordpress模板——美食餐饮网站必备主题下载" /></a></h4>
<p><a href="http://themeforest.net/item/bon-apetit-restaurant-or-coffee-shop-template/full_screen_preview/70484?ref=ccaopengg" target="_blank">查看更多</a></p>
<h4>Monmarthe Cafeteria</h4>
<h4><a href="http://themeforest.net/item/monmarthe-cafeteria-wp-restaurant-cafe-food/127710?ref=ccaopengg" target="_blank"><img alt="Monmarthe restaurant menu templates" border="0" height="322" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/113722EsH.jpg" title="Monmarthe " width="627" /></a></h4>
<p><a href="http://themeforest.net/item/monmarthe-cafeteria-wp-restaurant-cafe-food/127710?ref=ccaopengg" target="_blank">查看更多</a></p>
<h4>Sofa Restaurant</h4>
<p><a href="http://themeforest.net/item/sofa-restaurant-html/35524?ref=ccaopengg" target="_blank"><img alt="Mocca restaurant" border="0" height="322" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/113733zyk.jpg" title="Mocca restaurant" width="627" /></a></p>
<p><a href="http://themeforest.net/item/sofa-restaurant-html/35524?ref=ccaopengg" target="_blank">查看更多</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yangqiqi.com/wordpress_mo_ban_mei_shi_can_yin_wang_zhan_bi_bei_zhu_ti_xia_zai/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>wordpress主题模板——超人气下载</title>
		<link>http://www.yangqiqi.com/wordpress_zhu_ti_mo_ban_chao_ren_qi_xia_zai/</link>
		<comments>http://www.yangqiqi.com/wordpress_zhu_ti_mo_ban_chao_ren_qi_xia_zai/#comments</comments>
		<pubDate>Sun, 12 Feb 2012 11:00:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Templates]]></category>

		<guid isPermaLink="false">http://www.yangqiqi.com/?p=6853</guid>
		<description><![CDATA[1. Pacifico &#8211; Fullscreen wp theme with motion effect 下载 / 演示 2. HER &#8211; Premium WordPress Theme 下载 / 演示 3. Royale&#8217; Creative WordPress Theme 下载 / 演示 4. Shutter &#8211; Photography &#38; Portfolio WordPress theme 下载 / 演示 5. Music: Musicians theme &#38; Facebook app 下载 / 演示 6. Vue Responsive WordPress Theme [...]]]></description>
			<content:encoded><![CDATA[<h3>1. Pacifico &ndash; Fullscreen wp theme with motion effect</h3>
<p><img alt="Pacifico" height="424" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/111047KxT.jpg" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid; border-image: initial" title="Pacifico" width="625" /></p>
<p><a href="http://themeforest.net/item/pacifico-fullscreen-wp-theme-with-motion-effect/1486311?ref=ccaopengg" target="_blank">下载</a> / <a href="http://themeforest.net/item/pacifico-fullscreen-wp-theme-with-motion-effect/full_screen_preview/1486311?ref=ccaopengg" target="_blank">演示</a></p>
<h3>2. HER &ndash; Premium WordPress Theme</h3>
<p><img alt="Her" height="424" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/111101nx7.jpg" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid; border-image: initial" title="Her" width="625" /></p>
<p><a href="http://themeforest.net/item/her-premium-wordpress-theme/1401414?ref=ccaopengg" target="_blank">下载</a> / <a href="http://themeforest.net/item/her-premium-wordpress-theme/full_screen_preview/1401414?ref=ccaopengg" target="_blank">演示</a></p>
<h3>3. Royale&rsquo; Creative WordPress Theme</h3>
<p><img alt="Royale" height="424" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/111123r87.jpg" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid; border-image: initial" title="Royale" width="625" /></p>
<p><a href="http://themeforest.net/item/royale-creative-wordpress-theme/1565576?ref=ccaopengg" target="_blank">下载</a> / <a href="http://themeforest.net/item/royale-creative-wordpress-theme/full_screen_preview/1565576?ref=ccaopengg" target="_blank">演示</a></p>
<h3>4. Shutter &ndash; Photography &amp; Portfolio WordPress theme</h3>
<p><img alt="Shutter" height="432" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/1111511KQ.jpg" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid; border-image: initial" title="Shutter" width="625" /></p>
<p><a href="http://themeforest.net/item/shutter-photography-portfolio-wordpress-theme/1491735?ref=ccaopengg" target="_blank">下载</a> / <a href="http://themeforest.net/item/shutter-photography-portfolio-wordpress-theme/full_screen_preview/1491735?ref=ccaopengg" target="_blank">演示</a></p>
<h3>5. Music: Musicians theme &amp; Facebook app</h3>
<p><img alt="Music" height="430" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/111213Lsm.jpg" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid; border-image: initial" title="Music" width="625" /></p>
<p><a href="http://themeforest.net/item/music-musicians-theme-facebook-app/1541383?ref=ccaopengg" target="_blank">下载</a> / <a href="http://themeforest.net/item/music-musicians-theme-facebook-app/full_screen_preview/1541383?ref=ccaopengg" target="_blank">演示</a></p>
<h3>6. Vue Responsive WordPress Theme</h3>
<p><img alt="Vue" height="430" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/111232U67.jpg" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid; border-image: initial" title="Vue" width="625" /></p>
<p><a href="http://themeforest.net/item/vue-responsive-wordpress-theme/1312745?ref=ccaopengg" target="_blank">下载</a> / <a href="http://themeforest.net/item/vue-responsive-wordpress-theme/full_screen_preview/1312745?ref=ccaopengg" target="_blank">演示</a></p>
<h3>7. Zeences</h3>
<p><img alt="Zeences" height="427" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/111302jAj.jpg" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid; border-image: initial" title="Zeences" width="625" /></p>
<p><a href="http://themeforest.net/item/zeences-wordpress-portfolio-business-theme/969493?ref=ccaopengg" target="_blank">下载</a> / <a href="http://themeforest.net/item/zeences-wordpress-portfolio-business-theme/full_screen_preview/969493?ref=ccaopengg" target="_blank">演示</a></p>
<h3>8. Angus &ndash; All purpose theme</h3>
<p><img alt="Angus" height="617" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/111324IHA.jpg" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid; border-image: initial" title="Angus" width="625" /></p>
<p><a href="http://themeforest.net/item/angus-all-purpose-theme/1292152?ref=ccaopengg" target="_blank">下载</a> / <a href="http://themeforest.net/item/angus-all-purpose-theme/full_screen_preview/1292152?ref=ccaopengg" target="_blank">演示</a></p>
<h3>9. Audiology Responsive WordPress Audio Theme</h3>
<p><img alt="Audiology" height="424" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/111349mHJ.jpg" style="border-bottom: black 1px solid; border-left: black 1px solid; border-top: black 1px solid; border-right: black 1px solid; border-image: initial" title="Audiology" width="625" /></p>
<p><a href="http://themeforest.net/item/audiology-responsive-wordpress-audio-theme/1536305?ref=ccaopengg" target="_blank">下载</a> / <a href="http://themeforest.net/item/audiology-responsive-wordpress-audio-theme/full_screen_preview/1536305?ref=ccaopengg" target="_blank">演示</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yangqiqi.com/wordpress_zhu_ti_mo_ban_chao_ren_qi_xia_zai/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>大气漂亮的全屏WP主题模板</title>
		<link>http://www.yangqiqi.com/da_qi_piao_liang_de_quan_ping_wp_zhu_ti_mo_ban/</link>
		<comments>http://www.yangqiqi.com/da_qi_piao_liang_de_quan_ping_wp_zhu_ti_mo_ban/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 07:24:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web Templates]]></category>

		<guid isPermaLink="false">http://www.yangqiqi.com/?p=6739</guid>
		<description><![CDATA[1. Rhea For Photography Creative Portfolio 马上下载&#160;/ 预览 2. JR Photography WordPress Theme 马上下载&#160;/ 预览 3. Photox &#8211; Creative Photography Theme 马上下载&#160;/ 预览 4. PhotoPharm: Premium Photography and Blog Theme 马上下载&#160;/ 预览 5. This Way WP Full Video/Image Background with Audio 马上下载&#160;/ 预览 6. Nevo &#8211; Premium Fullscreen Portfolio WP Theme 马上下载&#160;/ 预览 7. Photolux [...]]]></description>
			<content:encoded><![CDATA[<div class="b_text">
<h3>1. Rhea For Photography Creative Portfolio</h3>
<p><img alt="Rhea For Photography Creative Portfolio" border="0" height="440" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/050638hJq.png" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-image: initial" title="Rhea For Photography Creative Portfolio" width="627" /></p>
<p><a href="http://themeforest.net/item/rhea-for-photography-creative-portfolio/1187949?ref=ccaopengg" target="_blank">马上下载</a>&nbsp;/ <a href="http://themeforest.net/item/rhea-for-photography-creative-portfolio/full_screen_preview/1187949?ref=ccaopengg" target="_blank">预览</a></p>
<h3>2. JR Photography WordPress Theme</h3>
<p><img alt="JR Photography WordPress Theme" border="0" height="440" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/050656ciY.png" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-image: initial" title="JR Photography WordPress Theme" width="627" /></p>
<p><a href="http://themeforest.net/item/jr-photography-wordpress-theme/1163891?ref=ccaopengg" target="_blank">马上下载</a>&nbsp;/ <a href="http://themeforest.net/item/jr-photography-wordpress-theme/full_screen_preview/1163891?ref=ccaopengg" target="_blank">预览</a></p>
<h3>3. Photox &ndash; Creative Photography Theme</h3>
<p><img alt="Photox - Creative Photography Theme" border="0" height="445" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/050716OCJ.png" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-image: initial" title="Photox - Creative Photography Theme" width="627" /></p>
<p><a href="http://themeforest.net/item/photox-creative-photography-theme/861418?ref=ccaopengg" target="_blank">马上下载</a>&nbsp;/ <a href="http://themeforest.net/item/photox-creative-photography-theme/full_screen_preview/861418?ref=ccaopengg" target="_blank">预览</a></p>
<h3>4. PhotoPharm: Premium Photography and Blog Theme</h3>
<p><img alt="PhotoPharm: Premium Photography and Blog Theme" border="0" height="440" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/050734R28.png" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-image: initial" title="PhotoPharm: Premium Photography and Blog Theme" width="627" /></p>
<p><a href="http://themeforest.net/item/photopharm-premium-photography-and-blog-theme/807697?ref=ccaopengg" target="_blank">马上下载</a>&nbsp;/ <a href="http://themeforest.net/item/photopharm-premium-photography-and-blog-theme/full_screen_preview/807697?ref=ccaopengg" target="_blank">预览</a></p>
<h3>5. This Way WP Full Video/Image Background with Audio</h3>
<p><img alt="This Way WP Full Video/Image Background with Audio" border="0" height="440" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/050752pCK.png" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-image: initial" title="This Way WP Full Video/Image Background with Audio" width="627" /></p>
<p><a href="http://themeforest.net/item/this-way-wp-full-videoimage-background-with-audio/943634?ref=ccaopengg" target="_blank">马上下载</a>&nbsp;/ <a href="http://themeforest.net/item/this-way-wp-full-videoimage-background-with-audio/full_screen_preview/943634?ref=ccaopengg" target="_blank">预览</a></p>
<h3>6. Nevo &ndash; Premium Fullscreen Portfolio WP Theme</h3>
<p><img alt="Nevo - Premium Fullscreen Portfolio WP Theme" border="0" height="445" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/0508118PW.png" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-image: initial" title="Nevo - Premium Fullscreen Portfolio WP Theme" width="627" /></p>
<p><a href="http://themeforest.net/item/nevo-premium-fullscreen-portfolio-wp-theme/769298?ref=ccaopengg" target="_blank">马上下载</a>&nbsp;/ <a href="http://themeforest.net/item/nevo-premium-fullscreen-portfolio-wp-theme/full_screen_preview/769298?ref=ccaopengg" target="_blank">预览</a></p>
<h3>7. Photolux &ndash; Photography Portfolio WordPress Theme</h3>
<p><img alt="Photolux – Photography Portfolio WordPress Theme" border="0" height="440" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/050830hGt.png" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-image: initial" title="Photolux – Photography Portfolio WordPress Theme" width="627" /></p>
<p><a href="http://themeforest.net/item/photolux-photography-portfolio-wordpress-theme/894193?ref=ccaopengg" target="_blank">马上下载</a>&nbsp;/ <a href="http://themeforest.net/item/photolux-photography-portfolio-wordpress-theme/full_screen_preview/894193?ref=ccaopengg" target="_blank">预览</a></p>
<h3>8. Mass &ndash; Ajax &amp; Fullscreen Background Slider Theme</h3>
<p><img alt="Mass - Ajax &amp; Fullscreen Background Slider Theme" border="0" height="440" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/0508489j3.png" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-image: initial" title="Mass - Ajax &amp; Fullscreen Background Slider Theme" width="627" /></p>
<p><a href="http://themeforest.net/item/mass-ajax-fullscreen-background-slider-theme/741414?ref=ccaopengg" target="_blank">马上下载</a>&nbsp;/ <a href="http://themeforest.net/item/mass-ajax-fullscreen-background-slider-theme/full_screen_preview/741414?ref=ccaopengg" target="_blank">预览</a></p>
<h3>9. SideWindr Full AJAX WordPress Theme</h3>
<p><img alt="SideWindr Full AJAX WordPress Theme" border="0" height="440" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/050907H0O.png" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-image: initial" title="SideWindr Full AJAX WordPress Theme" width="627" /></p>
<p><a href="http://themeforest.net/item/sidewindr-full-ajax-wordpress-theme/652475?ref=ccaopengg" target="_blank">马上下载</a>&nbsp;/ <a href="http://themeforest.net/item/sidewindr-full-ajax-wordpress-theme/full_screen_preview/652475?ref=ccaopengg" target="_blank">预览</a></p>
<h3>10. WordPress Zoom Portfolio + Blog</h3>
<p><img alt="WordPress Zoom Portfolio + Blog" border="0" height="440" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/02/050925rXl.png" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px; border-image: initial" title="WordPress Zoom Portfolio + Blog" width="627" /></p>
<p><a href="http://themeforest.net/item/wordpress-zoom-portfolio-blog/231324?ref=ccaopengg" target="_blank">马上下载</a>&nbsp;/ <a href="http://themeforest.net/item/wordpress-zoom-portfolio-blog/full_screen_preview/231324?ref=ccaopengg" target="_blank">预览</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.yangqiqi.com/da_qi_piao_liang_de_quan_ping_wp_zhu_ti_mo_ban/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>超文本的含义</title>
		<link>http://www.yangqiqi.com/chao_wen_ben_de_han_yi/</link>
		<comments>http://www.yangqiqi.com/chao_wen_ben_de_han_yi/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 04:38:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Html article]]></category>

		<guid isPermaLink="false">http://www.yangqiqi.com/?p=6688</guid>
		<description><![CDATA[超文本的意义： 标记语言的真正威力在于其收集能力，它可以将收集来的文档组合成一个完整的信息库，并且可以将文档库与世界上的其他文档集合链接起来。 这样的话，读者不仅可以完全控制文档在屏幕上的显示，还可以通过超链接来控制浏览信息的顺序。这就是 HTML 和 XHTML 中的 &#8220;HT&#8221; &#8211; 超文本（hypertext），就是它将整个 Web 网络连接起来。 超文本相关知识： 超文本的基本特征就是可以超链接文档；你可以指向其他位置，该位置可以在当前的文档中、局域网中的其他文档，也可以在因特网上的任何位置的文档中。这些文档组成了一个杂乱的信息网。目标文档通常与其来源有某些关联，并且丰富了来源；来源中的链接元素则将这种关系传递给浏览者。 超链接可以用于各种效果。超链接可以用在目录和主题列表中。浏览者可以在浏览器屏幕上单击鼠标或在键盘上按下按键，从而选择并自动跳转到文档中自己感兴趣的那个主题，或跳转到世界上某处完全不同的集合中的某个文档。 超链接还可以向浏览者指出有关文档中某个主题的更多信息。例如，&#8220;如果你想了解更详细的信息，请参阅某某页面。&#8221;。作者可以使用超链接来减少重复信息。例如，我们建议创作者在每个文档中都签署上自己的姓名。这样就可以使用一个将名字和另一个包含地址、电话号码等信息的单独文档链接起来的超链接，而不必在每个文档中都包含完整的联系信息。 超链接（hyper text），或者按照标准叫法称为锚（anchor），是使用 &#60;a&#62; 标签标记的，可以用两种方式表示。锚的一种类型是在文档中创建一个热点，当用户激活或选中（通常是使用鼠标）这个热点时，会导致浏览器进行链接。浏览器会自动加载并显示同一文档或其他文档中的某个部分，或触发某些与因特网服务相关的操作，例如发送电子邮件或下载特殊文件等。锚的另一种类型会在文档中创建一个标记，该标记可以被超链接引用。 还有一些与超链接相关联的鼠标相关事件。这些事件与 JavaScript 结合使用可以产生一些令人激动的效果。 锚的补充： 锚的这两种类型都使用同样的标签；也许这就是它们拥有同样的名称的原因。但是我们发现，如果将它们区分开，把提供热点和超链接地址的锚看作&#8220;链接&#8221;，而用于标记文档的目标部分的锚称为&#8220;锚&#8221;，那么您将更容易理解这两种类型的锚。]]></description>
			<content:encoded><![CDATA[<div>
<p><strong>超文本的意义：</strong></p>
<p>标记语言的真正威力在于其收集能力，它可以将收集来的文档组合成一个完整的信息库，并且可以将文档库与世界上的其他文档集合链接起来。</p>
<p>这样的话，读者不仅可以完全控制文档在屏幕上的显示，还可以通过超链接来控制浏览信息的顺序。这就是 HTML 和 XHTML 中的 &ldquo;HT&rdquo; &#8211; 超文本（hypertext），就是它将整个 Web 网络连接起来。</p>
</div>
<div>
<p><strong>超文本相关知识：</strong></p>
<p>超文本的基本特征就是可以超链接文档；你可以指向其他位置，该位置可以在当前的文档中、局域网中的其他文档，也可以在因特网上的任何位置的文档中。这些文档组成了一个杂乱的信息网。目标文档通常与其来源有某些关联，并且丰富了来源；来源中的链接元素则将这种关系传递给浏览者。</p>
<p>超链接可以用于各种效果。超链接可以用在目录和主题列表中。浏览者可以在浏览器屏幕上单击鼠标或在键盘上按下按键，从而选择并自动跳转到文档中自己感兴趣的那个主题，或跳转到世界上某处完全不同的集合中的某个文档。</p>
<p>超链接还可以向浏览者指出有关文档中某个主题的更多信息。例如，&ldquo;如果你想了解更详细的信息，请参阅某某页面。&rdquo;。作者可以使用超链接来减少重复信息。例如，我们建议创作者在每个文档中都签署上自己的姓名。这样就可以使用一个将名字和另一个包含地址、电话号码等信息的单独文档链接起来的超链接，而不必在每个文档中都包含完整的联系信息。</p>
<p>超链接（hyper text），或者按照标准叫法称为<em>锚</em>（anchor），是使用 &lt;a&gt; 标签标记的，可以用两种方式表示。锚的一种类型是在文档中创建一个热点，当用户激活或选中（通常是使用鼠标）这个热点时，会导致浏览器进行链接。浏览器会自动加载并显示同一文档或其他文档中的某个部分，或触发某些与因特网服务相关的操作，例如发送电子邮件或下载特殊文件等。锚的另一种类型会在文档中创建一个标记，该标记可以被超链接引用。</p>
<p>还有一些与超链接相关联的鼠标相关事件。这些事件与 JavaScript 结合使用可以产生一些令人激动的效果。</p>
<p><strong>锚的补充：</strong></p>
<p>锚的这两种类型都使用同样的标签；也许这就是它们拥有同样的名称的原因。但是我们发现，如果将它们区分开，把提供热点和超链接地址的锚看作&ldquo;链接&rdquo;，而用于标记文档的目标部分的锚称为&ldquo;锚&rdquo;，那么您将更容易理解这两种类型的锚。</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.yangqiqi.com/chao_wen_ben_de_han_yi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>符号的英语名称与解释</title>
		<link>http://www.yangqiqi.com/fu_hao_de_ying_yu_ming_cheng_yu_jie_shi/</link>
		<comments>http://www.yangqiqi.com/fu_hao_de_ying_yu_ming_cheng_yu_jie_shi/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 06:24:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.yangqiqi.com/?p=6707</guid>
		<description><![CDATA[_ underscore, underline, underbar下划线 @ at, accent sign &#175; overline, overscore, overbar 上划线（例如 0,1̅） 文字加删除线 line-through, strikethrough, strikeout ~ tilde 波浪线 reverse solidus or back slash / slash - dash 破折号， hyphen 连字符，minus (sign), opposite sign, negative sign, break sign # 电话键盘上念pound 乐谱上念sharp (升半音) 号码 sharp (后跟数字) 或number &#124; pipe, vertical bar ^ caret * [...]]]></description>
			<content:encoded><![CDATA[<pre class="note"><span style="font-size: 14px"><span style="color: #ee82ee">_</span><span style="color: #ee82ee">      underscore, underline, underbar下划线
</span><span style="color: #008080">@      at, accent sign
</span><span style="color: #ee82ee">&macr;      overline, overscore, overbar 上划线（例如 0,1̅）
</span>     <span style="color: #ee82ee">   文字加删除线    line-through, strikethrough, strikeout
</span><span style="color: #008080">~</span><span style="color: #008080">      tilde 波浪线
</span><span style="color: #ee82ee">        reverse solidus or back slash
</span><span style="color: #008080">/</span><span style="color: #008080">      slash
</span><span style="color: #ee82ee">-      dash 破折号， hyphen 连字符，minus (sign), opposite sign, negative sign, break sign
</span><span style="color: #008080">#</span><span style="color: #008080">      电话键盘上念pound 乐谱上念sharp (升半音) 号码 sharp (后跟数字) 或number
</span><span style="color: #ee82ee">|      pipe, vertical bar
</span><span style="color: #008080">^</span><span style="color: #008080">      caret
</span><span style="color: #ee82ee">*      asterisk, star (sign)
</span><span style="color: #008080">&sect;</span><span style="color: #008080">      section; division 分节号
</span><span style="color: #ee82ee">&rarr;      arrow 箭号；参见号
</span>
<span style="color: #008080">.      </span><span style="color: #008080">p</span><span style="color: #008080">eriod, dot, full stop
</span><span style="color: #ee82ee">?      question mark
</span><span style="color: #008080">.</span><span style="color: #008080">..    ellipsis, etc
</span><span style="color: #ee82ee">!      exclamation mark（感叹号）, caution sign（警示标志）, factorial sign阶乘符号（数）
</span><span style="color: #008080">,      </span><span style="color: #008080">comma
</span><span style="color: #ee82ee">:      colon
</span><span style="color: #008080">;      </span><span style="color: #008080">s</span><span style="color: #008080">emicolon
</span><span style="color: #ee82ee">( )    brackets, round brackets, parentheses, left bracket, right bracket
</span><span style="color: #008080">[]     </span><span style="color: #008080">b</span><span style="color: #008080">rackets, square brackets, left square bracket, right square bracket
</span><span style="color: #ee82ee">{}     brackets, curly brackets, left curly bracket, right curly bracket
</span><span style="color: #008080">&lt;&gt;</span>     <span style="color: #008080">angle brackets 尖括号

</span><span style="color: #ee82ee">+      plus (sign), cross sign, positive sign
</span><span style="color: #008080">$      </span><span style="color: #008080">d</span><span style="color: #008080">ollar (sign), currency sign
</span><span style="color: #ee82ee">%      percent (sign)
</span><span style="color: #008080">&amp;      </span><span style="color: #008080">and
</span></span><span style="color: #ee82ee">=       equals, sign of equality
</span><span style="color: #008080">&#39;       </span><span style="color: #008080">quotation marks, single quotation mark, single quotes, apostrophe
</span><span style="color: #ee82ee">&quot;       quotation marks, quotation mark, quot(es)
</span><span style="color: #008080">&gt;       </span><span style="color: #008080">greater than
</span><span style="color: #ee82ee">&lt;       less than
</span><span style="color: #008080">&sum;      (sigma) summation of 总和</span></pre>
<p>
	&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yangqiqi.com/fu_hao_de_ying_yu_ming_cheng_yu_jie_shi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>web标准入门必备</title>
		<link>http://www.yangqiqi.com/web_biao_zhun_ru_men_bi_bei/</link>
		<comments>http://www.yangqiqi.com/web_biao_zhun_ru_men_bi_bei/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 10:05:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Css Tutorials]]></category>

		<guid isPermaLink="false">http://www.yangqiqi.com/?p=6660</guid>
		<description><![CDATA[1）有HTML和CSS基础 学习本系列教程前，要求您有一定的html和css基础，制作过网页，会用表格进行网页布局，这样学习起来才会很轻松。如果您对这些还不懂，建议先学习这些知识，然后再来学习本教程。 2）转变观念 在以前我们制作网站时，总是习惯于先考虑外观、颜色、字体及布局等所有表现在页面上的内容。但外观并不是最重要的，相反最终用户在访问网页时的体验才是优先要考虑的。一个由div＋css布局且结构良好的页面可以通过css定义成任何外观，在任何网络设备上（包括手机、PDA和计算机）上以任何外观表现出来，而且用div＋css布局构建的网页以够简化代码，加快显示速度。 所以要想学好div＋css，首先要转变观念，需要抛弃传统的表格(Table)布局方式，采用层(DIV)布局，并且使用层叠样式表(CSS)来实现页面的外观。给网站浏览者更好的体验。 3）多动手、多动脑 说到这点，有点小儿科了，就像我们上小学时老师常常教我们的那样。为什么我在这里也做为一点列出来呢，我是通过评论发现，有些同学提的问题太没水平了，稍微动下脑筋就明白了，或者自己动手一试就知道了，但他就懒得试。举个简单的例子，拿浏览器兼容来说吧，你写个样式之后，在IE和火狐分别打开看一下不就明白了，但就是不去做。还有一个同学留言要我把一个实例中的图片打包发给他，我一看代码，就用到一张图片，无语了，有你留言的这个时间，自己也早把图片下载下来了。所以在这里告诫大家，一定要多动手、多动脑，不要怕麻烦。一定要自己多做实验，这样能更快掌握。]]></description>
			<content:encoded><![CDATA[<h4>1）有HTML和CSS基础</h4>
<p>学习本系列教程前，要求您有一定的html和css基础，制作过网页，会用表格进行网页布局，这样学习起来才会很轻松。如果您对这些还不懂，建议先学习这些知识，然后再来学习本教程。</p>
<h4>2）转变观念</h4>
<p>在以前我们制作网站时，总是习惯于先考虑外观、颜色、字体及布局等所有表现在页面上的内容。但外观并不是最重要的，相反最终用户在访问网页时的体验才是优先要考虑的。一个由div＋css布局且结构良好的页面可以通过css定义成任何外观，在任何网络设备上（包括手机、PDA和计算机）上以任何外观表现出来，而且用div＋css布局构建的网页以够简化代码，加快显示速度。</p>
<p>所以要想学好div＋css，首先要转变观念，需要抛弃传统的表格(Table)布局方式，采用层(DIV)布局，并且使用层叠样式表(CSS)来实现页面的外观。给网站浏览者更好的体验。</p>
<h4>3）多动手、多动脑</h4>
<p>说到这点，有点小儿科了，就像我们上小学时老师常常教我们的那样。为什么我在这里也做为一点列出来呢，我是通过评论发现，有些同学提的问题太没水平了，稍微动下脑筋就明白了，或者自己动手一试就知道了，但他就懒得试。举个简单的例子，拿浏览器兼容来说吧，你写个样式之后，在IE和火狐分别打开看一下不就明白了，但就是不去做。还有一个同学留言要我把一个实例中的图片打包发给他，我一看代码，就用到一张图片，无语了，有你留言的这个时间，自己也早把图片下载下来了。所以在这里告诫大家，一定要多动手、多动脑，不要怕麻烦。一定要自己多做实验，这样能更快掌握。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yangqiqi.com/web_biao_zhun_ru_men_bi_bei/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XHTML CSS知识小汇</title>
		<link>http://www.yangqiqi.com/xhtml_css_zhi_shi_xiao_hui/</link>
		<comments>http://www.yangqiqi.com/xhtml_css_zhi_shi_xiao_hui/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 05:39:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Css Tutorials]]></category>

		<guid isPermaLink="false">http://www.yangqiqi.com/?p=6659</guid>
		<description><![CDATA[这篇文章是介绍xhtml css基础的相关知识点，对于一些简单的语法与概念在这里不作为讨论范围。首先说一下我们要讨论的内容： 文档类型 语言编码 html标签 css样式 css优先级 css盒模型组成 1）文档类型 当我们用dreamweaver新建一下html格式文档时，查看源代码，会发现代码最上部有如下这句话： &#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; 这句话标明本文档是过渡类型，另外还有框架和严格类型，目前一般都采用过渡类型，因为浏览器对XHTML的解析比较宽松，允许使用HTML4.01 中的标签，但必须符合XHTML的语法。许多朋友在制作页面时，往往喜欢把这句删除掉，在这里建议大家一定要保留这句话，删除它后可能引起某些样式表失效或其它意想不到的问题。 2）语言编码 接下来我们还会发现这样一句话： &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=gb2312&#34; /&#62; 它标示文档的语言编码。就像我们平时所说的汉语、英语一样。这里的gb2312告诉浏览器，本文档采用简体中文编码；还有一种常用的编码是UTF- 8编码，它是国际通用的编码。不管我们采用哪种编码，有一点就是包含的css样式表和其它文件也必须和本文档的编码一样，要不就会出现乱码。 &#160;3）html标签 html标签在页面中都必须结束。成对的标签以&#8220;/标签名&#8221;结束，有些单一的标签在本身的结尾打上/来结束，这是xhtml代码编写的规范。 成对的标签： &#60;head&#62;{&#8230;}&#60;/head&#62; &#60;body&#62;{&#8230;}&#60;/body&#62; &#60;div&#62;{&#8230;}&#60;/div&#62; &#60;span&#62;{&#8230;}&#60;/span&#62; &#60;p&#62;{&#8230;}&#60;/p&#62; &#8230;&#8230; 单一的标签： &#60;img src=&#34;&#34; /&#62; &#60;br /&#62; &#8230;&#8230;. 还需说明一点的是按xhtml规范，标签必须用小写。 4）css样式 加载css样式有以下四种 外部样式 内部样式 行内样式 导入样式 外部样式形式是把css单独写到一个css文件内，然后在源代码中以link方式链接。它的好处是不但本页可以调用，其它页面也可以调用，是最常用的一种形式。例如&#8212;&#8212; &#60;link href=&#34;layout.css&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>这篇文章是介绍xhtml css基础的相关知识点，对于一些简单的语法与概念在这里不作为讨论范围。首先说一下我们要讨论的内容：</p>
<ol>
<li>文档类型</li>
<li>语言编码</li>
<li>html标签</li>
<li>css样式</li>
<li>css优先级</li>
<li>css盒模型组成</li>
</ol>
<h5>1）文档类型</h5>
<p>当我们用dreamweaver新建一下html格式文档时，查看源代码，会发现代码最上部有如下这句话：</p>
<blockquote>
<p class="codes"><span style="color: #008080">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</span></p>
</blockquote>
<p>这句话标明本文档是过渡类型，另外还有框架和严格类型，目前一般都采用过渡类型，因为浏览器对XHTML的解析比较宽松，允许使用HTML4.01 中的标签，但必须符合XHTML的语法。许多朋友在制作页面时，往往喜欢把这句删除掉，在这里建议大家一定要保留这句话，删除它后可能引起某些样式表失效或其它意想不到的问题。</p>
<h5>2）语言编码</h5>
<p>接下来我们还会发现这样一句话：</p>
<blockquote>
<p class="codes"><span style="color: #008080">&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=gb2312&quot; /&gt;</span></p>
</blockquote>
<p>它标示文档的语言编码。就像我们平时所说的汉语、英语一样。这里的gb2312告诉浏览器，本文档采用简体中文编码；还有一种常用的编码是UTF- 8编码，它是国际通用的编码。不管我们采用哪种编码，有一点就是包含的css样式表和其它文件也必须和本文档的编码一样，要不就会出现乱码。</p>
<h5>&nbsp;3）html标签</h5>
<p>html标签在页面中都必须结束。成对的标签以&ldquo;/标签名&rdquo;结束，有些单一的标签在本身的结尾打上/来结束，这是xhtml代码编写的规范。</p>
<p>成对的标签：</p>
<blockquote>
<p class="codes"><span style="color: #008080">&lt;head&gt;{&#8230;}&lt;/head&gt;<br />
		&lt;body&gt;{&#8230;}&lt;/body&gt;<br />
		&lt;div&gt;{&#8230;}&lt;/div&gt;<br />
		&lt;span&gt;{&#8230;}&lt;/span&gt;<br />
		&lt;p&gt;{&#8230;}&lt;/p&gt;<br />
		&#8230;&#8230;</span></p>
</blockquote>
<p>单一的标签：</p>
<blockquote>
<p class="codes"><span style="color: #008080">&lt;img src=&quot;&quot; /&gt;<br />
		&lt;br /&gt;<br />
		&#8230;&#8230;.</span></p>
</blockquote>
<p>还需说明一点的是按xhtml规范，标签必须用小写。</p>
<h5>4）css样式</h5>
<p>加载css样式有以下四种</p>
<ul>
<li>外部样式</li>
<li>内部样式</li>
<li>行内样式</li>
<li>导入样式</li>
</ul>
<p>外部样式形式是把css单独写到一个css文件内，然后在源代码中以link方式链接。它的好处是不但本页可以调用，其它页面也可以调用，是最常用的一种形式。例如&mdash;&mdash;</p>
<blockquote>
<p class="codes"><span style="color: #008080">&lt;link href=&quot;layout.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;</span></p>
</blockquote>
<p>内部样式是以&lt;style&gt;和&lt;/style&gt;结尾，写在源代码的head标签内。这样的样式表只能针对本页有效。不能作用于其它页面。例如&mdash;&mdash;</p>
<blockquote>
<p class="codes"><span style="color: #008080">&lt;style&gt;<br />
		h2 { color:#f00;}<br />
		&lt;/style&gt;</span></p>
</blockquote>
<p>行内样式是在标签内以style标记的为行内样式，行内样式只针对标签内的元素有效，因其没有和内容相分离，所以不建议使用。</p>
<blockquote>
<p class="codes"><span style="color: #008080">&lt;p style=&quot;font-size:18px;&quot;&gt;内部样式&lt;/p&gt;</span></p>
</blockquote>
<p>&nbsp;链接样式是以@import url标记所链接的外部样式表，它一般常用在另一个样式表内部。如layout.css为主页所用样式，那么我们可以把全局都需要用的公共样式放到一个 global.css的文件中，然后在layout.css中以@import url(&quot;/css/global.css&quot;)的形式链接全局样式，这样就使代码达到很好的重用性。</p>
<blockquote>
<p class="codes"><span style="color: #008080">@import url(&quot;/css/global.css&quot;);</span></p>
</blockquote>
<h5>5）css优先级</h5>
<ul>
<li>id优先级高于class</li>
<li>后面的样式覆盖前面的</li>
<li>指定的高于继承</li>
<li>行内样式高于内部或外部样式</li>
<li>总结：单一的(id)高于共用的(class)，有指定的用指定的，无指定则继承离它最近的</li>
</ul>
<h5>6）css盒模型组成</h5>
<p>css盒模型是这里的重点。前面几个知识点，如果您会用表格布局的话，就非常好理解和掌握了。这里的盒模型是和table布局的一个不同点。学习web标准，首先要弄懂的就是这个盒模型，这就是DIV排版的核心所在。传统的表格排版是通过大小不一的表格和表格嵌套来定位排版网页内容，改用CSS 排版后，就是通过由CSS定义的大小不一的盒子和盒子嵌套来编排网页。这种排版方式的网页代码简洁，表现和内容相分离，维护方便，能兼容更多的浏览器，比如PDA设备也能正常浏览。</p>
<p>那么它为什么叫盒子呢？先说说我们在网页设计中常听的属性名：内容(content)、填充(padding)、边框(border)、边界(margin)， CSS盒子模式都具备这些属性。</p>
<p><img alt="XHTML CSS知识小汇" src="http://www.yangqiqi.com/wp-content/uploads/final_folder/2012/01/10084164j.gif" title="XHTML CSS知识小汇" /></p>
<p>我们可以把它想像成现实中上方开口的盒子，然后从正上往下俯视，边框相当于盒子的厚度，内容相对于盒子中所装物体的空间，而填充呢，相当于为防震而在盒子内填充的泡沫，边界呢相当于在这个盒子周围要留出一定的空间，方便取出。是不是这样就很容易理解盒模型了。</p>
<p>所以<span style="color: #ff0000">整个盒模型在页面中所占的宽度是由左边界+左边框+左填充+内容+右填充+右边框+右边界组成，而css样式中width所定义的宽度仅仅是内容部分的宽度</span>，这是许多朋友容易搞混的地方</p>
<p>这里的边界我们也称之为：外边距、外补丁；填充也叫：内边距、内补丁。</p>
<p>如果现在您对CSS盒模型理解还不够透彻，继续往下看，后来的章节会都会应用到盒模型实例。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yangqiqi.com/xhtml_css_zhi_shi_xiao_hui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>css中文字体（中英对照）</title>
		<link>http://www.yangqiqi.com/css_zhong_wen_zi_ti_zhong_ying_dui_zhao/</link>
		<comments>http://www.yangqiqi.com/css_zhong_wen_zi_ti_zhong_ying_dui_zhao/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 07:25:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Css Tutorials]]></category>

		<guid isPermaLink="false">http://www.yangqiqi.com/?p=6640</guid>
		<description><![CDATA[在写一个网站的样式表的时候，都会不可避免地用到一些中文字体，比如说微软雅黑、黑体等，除非是做英文站。在 CSS 中写入中文字体的方法一般采用 font-family:&#34;微软雅黑&#34;,&#34;黑体&#34;;这样类似的表达方式，但是对于像 WordPress 这样需要 UTF8 编码平台来说，一个不注意没有转换编码就会导致中文字体无法按照希望的字体表形出来。所以我们可以通过英文、unicode 这种形式来表达中文，比如说刚才的 font-family:&#34;微软雅黑&#34;,&#34;黑体&#34;;就可以写成 font-family:&#34;Microsoft Yahei&#34;,&#34;SimHei&#34;; 这样看起来是不是也可以统一一点呢。 中文字体与英文、unicode 对应的太多，背也背不下来，就搜集了一张表格收藏记录一下，希望也是你想要的： &#160; 中文名 英文名 Unicode Mac OS 华文细黑 STHeiti Light [STXihei] 534E65877EC69ED1 华文黑体 STHeiti 534E65879ED14F53 华文楷体 STKaiti 534E658769774F53 华文宋体 STSong 534E65875B8B4F53 华文仿宋 STFangsong 534E65874EFF5B8B 丽黑 Pro LiHei Pro Medium 4E3D9ED1 Pro 丽宋 Pro LiSong Pro Light 4E3D5B8B Pro 标楷体 BiauKai 680769774F53 [...]]]></description>
			<content:encoded><![CDATA[<p>在写一个网站的样式表的时候，都会不可避免地用到一些中文字体，比如说微软雅黑、黑体等，除非是做英文站。在 CSS 中写入中文字体的方法一般采用 font-family:&quot;微软雅黑&quot;,&quot;黑体&quot;;这样类似的表达方式，但是对于像 WordPress 这样需要 UTF8 编码平台来说，一个不注意没有转换编码就会导致中文字体无法按照希望的字体表形出来。所以我们可以通过英文、unicode 这种形式来表达中文，比如说刚才的 font-family:&quot;微软雅黑&quot;,&quot;黑体&quot;;就可以写成 font-family:&quot;Microsoft Yahei&quot;,&quot;SimHei&quot;; 这样看起来是不是也可以统一一点呢。</p>
<p style="line-height: 25px; font-family: tahoma, helvetica, arial, simsun, sans-serif; font-size: 14px; text-decoration: none">中文字体与英文、unicode 对应的太多，背也背不下来，就搜集了一张表格收藏记录一下，希望也是你想要的：</p>
<p>&nbsp;</p>
<table class="table" style="line-height: 25px; border-right-width: 0px; border-collapse: collapse; border-top-width: 0px; table-layout: fixed; border-bottom-width: 0px; font-size: 14px; border-left-width: 0px; text-decoration: none; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px" width="610">
<thead>
<tr>
<th style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; background-color: rgb(238,238,238); font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">中文名</th>
<th style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; background-color: rgb(238,238,238); font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">英文名</th>
<th style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; background-color: rgb(238,238,238); font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">Unicode</th>
</tr>
<tr>
<th colspan="3" style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; background-color: rgb(238,238,238); font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">Mac OS</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文细黑</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STHeiti Light [STXihei]</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E65877EC69ED1</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文黑体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STHeiti</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E65879ED14F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文楷体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STKaiti</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E658769774F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文宋体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STSong</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E65875B8B4F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文仿宋</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STFangsong</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E65874EFF5B8B</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">丽黑 Pro</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">LiHei Pro Medium</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">4E3D9ED1 Pro</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">丽宋 Pro</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">LiSong Pro Light</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">4E3D5B8B Pro</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">标楷体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">BiauKai</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">680769774F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">苹果丽中黑</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">Apple LiGothic Medium</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">82F9679C4E3D4E2D9ED1</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">苹果丽细宋</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">Apple LiSung Light</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">82F9679C4E3D7EC65B8B</td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="3" style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; background-color: rgb(238,238,238); font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">Windows</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">新细明体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">PMingLiU</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">65B07EC6660E4F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">细明体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">MingLiU</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">7EC6660E4F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">标楷体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">DFKai-SB</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">680769774F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">黑体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">SimHei</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">9ED14F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">宋体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">SimSun</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">5B8B4F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">新宋体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">NSimSun</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">65B05B8B4F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">仿宋</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">FangSong</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">4EFF5B8B</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">楷体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">KaiTi</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">69774F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">仿宋_GB2312</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">FangSong_GB2312</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">4EFF5B8B_GB2312</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">楷体_GB2312</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">KaiTi_GB2312</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">69774F53_GB2312</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">微软正黑体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">Microsoft JhengHei</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">5FAEx8F6F6B639ED14F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">微软雅黑</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">Microsoft YaHei</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">5FAE8F6F96C59ED1</td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="3" style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; background-color: rgb(238,238,238); font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">Office</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">隶书</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">LiSu</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">96B64E66</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">幼圆</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">YouYuan</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">5E7C5706</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文细黑</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STXihei</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E65877EC69ED1</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文楷体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STKaiti</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E658769774F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文宋体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STSong</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E65875B8B4F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文中宋</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STZhongsong</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E65874E2D5B8B</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文仿宋</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STFangsong</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E65874EFF5B8B</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">方正舒体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">FZShuTi</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">65B96B6382124F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">方正姚体</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">FZYaoti</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">65B96B6359DA4F53</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文彩云</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STCaiyun</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E65875F694E91</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文琥珀</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STHupo</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E6587742573C0</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文隶书</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STLiti</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E658796B64E66</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文行楷</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STXingkai</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E6587884C6977</td>
</tr>
<tr>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">华文新魏</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">STXinwei</td>
<td style="border-bottom: rgb(204,204,204) 1px solid; text-align: center; border-left: rgb(204,204,204) 1px solid; font-size: 14px; border-top: rgb(204,204,204) 1px solid; border-right: rgb(204,204,204) 1px solid; text-decoration: none">534E658765B09B4F</td>
</tr>
</tbody>
</table>
<p>不过，即使有这张字体清单作为对照还是无法满足不了有着人手一个规则的浏览器大军，就算是举着完美支持 CSS 大旗的 Firefox，也有不尽如人意的地方，因为 Firefox 居然不支持以上别名，对它来说 &quot;Microsoft Yahei&quot; 并不是微软雅黑，只能反馈出浏览器默认字体的的结果。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yangqiqi.com/css_zhong_wen_zi_ti_zhong_ying_dui_zhao/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>增强样式表可读性的技巧</title>
		<link>http://www.yangqiqi.com/zeng_qiang_yang_shi_biao_ke_du_xing_de_ji_qiao/</link>
		<comments>http://www.yangqiqi.com/zeng_qiang_yang_shi_biao_ke_du_xing_de_ji_qiao/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 10:58:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Css Tutorials]]></category>

		<guid isPermaLink="false">http://www.yangqiqi.com/?p=6636</guid>
		<description><![CDATA[A.使用css缩写 使用缩写可以帮助减少你CSS文件的大小，更加容易阅读。这里就不展开描述。 B.明确定义单位，除非值为0 忘记定义尺寸的单位是CSS新手普遍的错误。在HTML中你可以只写width=100，但是在CSS中，你必须给一个准确的单位，比如：width:100px width:100em。只有两个例外情况可以不定义单位：行高和0值。除此以外，其他值都必须紧跟单位，注意，不要在数值和单位之间加空格。 C.区分大小写 当在XHTML中使用CSS，CSS里定义的元素名称是区分大小写的。为了避免这种错误，我建议所有的定义名称都采用小写。 class和id的值在HTML和XHTML中也是区分大小写的，如果你一定要大小写混合写，请仔细确认你在CSS的定义和XHTML里的标签是一致的。 D.取消class和id前的元素限定 当你写给一个元素定义class或者id，你可以省略前面的元素限定，因为ID在一个页面里是唯一的，class可以在页面中多次使用。你限定某个元素毫无意义。例如： div#content { /* declarations */ } fieldset.details { /* declarations */ } 可以写成 #content { /* declarations */ } .details { /* declarations */ } 这样可以节省一些字节。 E.默认值 通常padding的默认值为0，background-color的默认值是transparent。但是在不同的浏览器默认值可能不同。如果怕有冲突，可以在样式表一开始就先定义所有元素的margin和padding值都为0，象这样： * { margin:0; padding:0; } F.不需要重复定义可继承的值 CSS中，子元素自动继承父元素的属性值，象颜色、字体等，已经在父元素中定义过的，在子元素中可以直接继承，不需要重复定义。但是要注意，浏览器可能用一些默认值覆盖你的定义。 G.最近优先原则 如果对同一个元素的定义有多种，以最接近(最小一级)的定义为最优先，例如有这么一段代码 Update: Lorem ipsum dolor set 在CSS文件中，你已经定义了元素p，又定义了一个class=update p { [...]]]></description>
			<content:encoded><![CDATA[<p><strong>A.使用css缩写 </strong></p>
<p>使用缩写可以帮助减少你CSS文件的大小，更加容易阅读。这里就不展开描述。<br />
	<strong><br />
	B.明确定义单位，除非值为0 </strong></p>
<p>忘记定义尺寸的单位是CSS新手普遍的错误。在HTML中你可以只写width=100，但是在CSS中，你必须给一个准确的单位，比如：width:100px width:100em。只有两个例外情况可以不定义单位：行高和0值。除此以外，其他值都必须紧跟单位，注意，不要在数值和单位之间加空格。</p>
<p>	<b>C.区分大小写</b></p>
<p>当在XHTML中使用CSS，CSS里定义的元素名称是区分大小写的。为了避免这种错误，我建议所有的定义名称都采用小写。</p>
<p>	class和id的值在HTML和XHTML中也是区分大小写的，如果你一定要大小写混合写，请仔细确认你在CSS的定义和XHTML里的标签是一致的。</p>
<p>	<b>D.取消class和id前的元素限定</b></p>
<p>当你写给一个元素定义class或者id，你可以省略前面的元素限定，因为ID在一个页面里是唯一的，class可以在页面中多次使用。你限定某个元素毫无意义。例如：</p>
<p>	<span style="color: #008080">div#content { /* declarations */ } <br />
	fieldset.details { /* declarations */ } </p>
<p>	</span>可以写成</p>
<p>	<span style="color: #008080">#content { /* declarations */ } <br />
	.details { /* declarations */ } <br />
	</span><br />
	这样可以节省一些字节。<br />
	<b><br />
	E.默认值</b></p>
<p>通常padding的默认值为0，background-color的默认值是transparent。但是在不同的浏览器默认值可能不同。如果怕有冲突，可以在样式表一开始就先定义所有元素的margin和padding值都为0，象这样：</p>
<p>	<span style="color: #008080">* { <br />
	margin:0; <br />
	padding:0; <br />
	}</span></p>
<p>
	<b>F.不需要重复定义可继承的值</b></p>
<p>CSS中，子元素自动继承父元素的属性值，象颜色、字体等，已经在父元素中定义过的，在子元素中可以直接继承，不需要重复定义。但是要注意，浏览器可能用一些默认值覆盖你的定义。</p>
<p>	<b>G.最近优先原则</b></p>
<p>如果对同一个元素的定义有多种，以最接近(最小一级)的定义为最优先，例如有这么一段代码</p>
<p>	Update: Lorem ipsum dolor set</p>
<p>	在CSS文件中，你已经定义了元素p，又定义了一个class=update</p>
<p>	<span style="color: #008080">p { <br />
	margin:1em 0; <br />
	font-size:1em; <br />
	color:#333; <br />
	} <br />
	.update { <br />
	font-weight:bold; <br />
	color:#600; <br />
	} <br />
	</span><br />
	这两个定义中，class=update将被使用，因为class比p更近。</p>
<p>	<b>H.多重class定义</b></p>
<p>一个标签可以同时定义多个class。例如：我们先定义两个样式，第一个样式背景为#666；第二个样式有10 px的边框。</p>
<p>	<span style="color: #008080">.one{width:200px;background:#666;}<br />
	.two{border:10px solid #F00;} </p>
<p>	</span>在页面代码中，我们可以这样调用</p>
<p>	<span style="color: #008080">&lt;div class=one two&gt;&lt;/div&gt; </p>
<p>	</span>这样最终的显示效果是这个div既有#666的背景，也有10px的边框。是的，这样做是可以的，你可以尝试一下。</p>
<p>	<b>I.使用子选择器(descendant selectors)</b></p>
<p>CSS初学者不知道使用子选择器是影响他们效率的原因之一。子选择器可以帮助你节约大量的class定义。我们来看下面这段代码：</p>
<p>	<span style="color: #008080">&lt;div id=subnav&gt; <br />
	&lt;ul&gt; <br />
	&lt;li class=subnavitem&gt; &lt;a href=# class=subnavitem&gt;Item 1&lt;/a&gt;&lt;/li&gt;&gt; <br />
	&lt;li class=subnavitemselected&gt; &lt;a href=# class=subnavitemselected&gt; Item 1&lt;/a&gt; &lt;/li&gt; <br />
	&lt;li class=subnavitem&gt; &lt;a href=# class=subnavitem&gt; Item 1&lt;/a&gt; &lt;/li&gt;<br />
	&lt;/ul&gt; <br />
	&lt;/div&gt; <br />
	</span><br />
	这段代码的CSS定义是：</p>
<p>	div#subnav ul { /* Some styling */ } <br />
	div#subnav ul li.subnavitem { /* Some styling */ } <br />
	div#subnav ul li.subnavitem a.subnavitem { /* Some styling */ } <br />
	div#subnav ul li.subnavitemselected { /* Some styling */ } <br />
	div#subnav ul li.subnavitemselected a.subnavitemselected { /* Some styling */ } </p>
<p>	你可以用下面的方法替代上面的代码</p>
<p>	<span style="color: #008080">&lt;ul id=subnav&gt; <br />
	&lt;li&gt; &lt;a href=#&gt; Item 1&lt;/a&gt; &lt;/li&gt; <br />
	&lt;li class=sel&gt; &lt;a href=#&gt; Item 1&lt;/a&gt; &lt;/li&gt; <br />
	&lt;li&gt; &lt;a href=#&gt; Item 1&lt;/a&gt; &lt;/li&gt; <br />
	&lt;/ul&gt; </p>
<p>	</span>样式定义是：</p>
<p>	#subnav { /* Some styling */ } <br />
	#subnav li { /* Some styling */ } <br />
	#subnav a { /* Some styling */ } <br />
	#subnav .sel { /* Some styling */ } <br />
	#subnav .sel a { /* Some styling */ } </p>
<p>	用子选择器可以使你的代码和CSS更加简洁、更加容易阅读。</p>
<p><b>J.不需要给背景图片路径加引号</b></p>
<p>为了节省字节，我建议不要给背景图片路径加引号，因为引号不是必须的。例如：</p>
<p>	<span style="color: #008080">background:url(images/***.gif) #333; </p>
<p>	</span>可以写为</p>
<p>	<span style="color: #008080">background:url(images/***.gif) #333; </p>
<p>	</span>如果你加了引号，反而会引起一些浏览器的错误。</p>
<p>	<b>K.组选择器(Group selectors)</b></p>
<p>当一些元素类型、class或者id都有共同的一些属性，你就可以使用组选择器来避免多次的重复定义。这可以节省不少字节。 </p>
<p>	例如：定义所有标题的字体、颜色和margin，你可以这样写：</p>
<p>	<span style="color: #008080">h1,h2,h3,h4,h5,h6 { <br />
	font-family:Lucida Grande,Lucida,Arial,Helvetica,sans-serif; <br />
	color:#333; <br />
	margin:1em 0; <br />
	} <br />
	</span><br />
	<b>L.用正确的顺序指定链接的样式</b></p>
<p>当你用CSS来定义链接的多个状态样式时，要注意它们书写的顺序，正确的顺序是：:link :visited :hover :active。抽取第一个字母是LVHA，你可以记忆成LoVe HAte。<br />
	如果你的用户需要用键盘来控制，需要知道当前链接的焦点，你还可以定义:focus属性。:focus属性的效果也取决与你书写的位置，如果你希望聚焦元素显示:hover效果，你就把:focus写在:hover前面；如果你希望聚焦效果替代:hover效果，你就把:focus放在:hover后面。</p>
<p>	<b>M.清除浮动</b></p>
<p>一个非常常见的CSS问题，定位使用浮动的时候，下面的层被浮动的层所覆盖，或者层里嵌套的子层超出了外层的范围。</p>
<p>	通常的解决办法是在浮动层后面添加一个额外元素，例如一个div或者一个br，并且定义它的样式为clear: both。这两种方法可以很好解决浮动超出的问题，但是如果当你真的需要对层或者层里的对象进行clear的时候怎么办？一种简单的方法就是用overflow属性，到底哪一种方法更适合你就要看具体的情况，这里不再展开论述。<br />
	<b><br />
	N.导入(Import)和隐藏CSS</b></p>
<p>因为老版本浏览器不支持CSS，一个通常的做法是使用@import技巧来把CSS隐藏起来。例如：</p>
<p>	<span style="color: #008080">@import url(main.css); <br />
	</span><br />
	然而，这个方法对IE4不起作用，这让我很是头疼了一阵子。后来我用这样的写法：</p>
<p>	<span style="color: #008080">@import main.css; </p>
<p>	</span>这样就可以在IE4中也隐藏CSS了，呵呵，还节省了5个字节呢。</p>
<p>	<b>O.针对IE的优化</b></p>
<p>有些时候，你需要对IE浏览器的bug定义一些特别的规则，这里有太多的CSS技巧(hacks)，我只使用其中的两种方法，不管微软在即将发布的IE7 beta版里是否更好的支持CSS，这两种方法都是最安全的。</p>
<p>	1.注释的方法 </p>
<p>	(a)在IE中隐藏一个CSS定义，你可以使用子选择器(child selector):<br />
	html&gt;body p { <br />
	/* 定义内容 */ <br />
	} </p>
<p>	(b)下面这个写法只有IE浏览器可以理解(对其他浏览器都隐藏) <br />
	* html p { <br />
	/* declarations */ <br />
	} </p>
<p>	(c)还有些时候，你希望IE/Win有效而IE/Mac隐藏，你可以使用反斜线技巧：<br />
	/* */ <br />
	* html p { <br />
	declarations <br />
	} <br />
	/* */ <br />
	2.条件注释(conditional comments)的方法 </p>
<p>	另外一种方法，我认为比CSS　Hacks更加经得起考验就是采用微软的私有属性条件注释(conditional comments)。用这个方法你可以给IE单独定义一些样式，而不影响主样式表的定义。就象这样：</p>
<p>	<span style="color: #008080">&lt;!&#8211;[if IE]&gt; <br />
	&lt;link rel=stylesheet type=text/css href=ie.css /&gt; <br />
	&lt;![endif]&#8211;&gt;</span></p>
<p>
	<b>P.调试技巧：层有多大？</b></p>
<p>当调试CSS发生错误，你就要象排版工人，逐行分析CSS代码。我通常在出问题的层上定义一个背景颜色，这样就能很明显看到层占据多大空间。有些人建议用 border，一般情况也是可以的，但问题是，有时候border 会增加元素的尺寸，border-top和boeder-bottom会破坏纵向margin的值，所以使用background更加安全些。 </p>
<p>	另外一个经常出问题的属性是outline。outline看起来象boeder，但不会影响元素的尺寸或者位置。只有少数浏览器支持outline属性，我所知道的只有Safari、OmniWeb、和Opera。</p>
<p>	<b>Q.CSS代码书写样式</b></p>
<p>在写CSS代码的时候，对于缩进、断行、空格，每个人有每个人的书写习惯。在经过不断实践后，我决定采用下面这样的书写样式：</p>
<p>	<span style="color: #008080">selector1, <br />
	selector2 { <br />
	property:value; <br />
	} </p>
<p>	</span>当使用联合定义时，我通常将每个选择器单独写一行，这样方便在CSS文件中找到它们。在最后一个选择器和大括号{之间加一个空格，每个定义也单独写一行，分号直接在属性值后，不要加空格。</p>
<p>	我习惯在每个属性值后面都加分号，虽然规则上允许最后一个属性值后面可以不写分号，但是如果你要加新样式时容易忘记补上分号而产生错误，所以还是都加比较好。</p>
<p>	最后，关闭的大括号}单独写一行。例外，空格和换行特别有助作者阅读文件。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yangqiqi.com/zeng_qiang_yang_shi_biao_ke_du_xing_de_ji_qiao/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS HACK——针对ie6,ie7,ie8以及firefox</title>
		<link>http://www.yangqiqi.com/css_hack_zhen_dui_ie6_ie7_ie8_yi_ji_firefox/</link>
		<comments>http://www.yangqiqi.com/css_hack_zhen_dui_ie6_ie7_ie8_yi_ji_firefox/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 04:47:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Css Tutorials]]></category>

		<guid isPermaLink="false">http://www.yangqiqi.com/?p=6632</guid>
		<description><![CDATA[浏览器市场的混乱，给设计师造成很大的麻烦，设计的页面兼容完这个浏览器还得兼容那个浏览器，本来ie6跟ff之间的兼容是很容易解决的。加上个ie7会麻烦点，ie8的出现就更头疼了，原来hack ie7的方法又不能用了，怎么办呢？ 第一种方法： 应用微软提供的代码： &#60;meta http-equiv=&#34;x-ua-compatible&#34; content=&#34;ie=7&#34; /&#62; 把这段代码放到&#60;head&#62;里面，在ie8里面的页面解析起来就跟ie7一模一样的了，所以，基本上可以无视ie8，剩下的代码只需要这样写就可以了 background:#ffc; /*&#160; 对firefox有效*/ *background:#ccc; /* 对ie7有效 */ _background:#000; /* 只对ie6有效 */ 说明： firefox能解析第一段，后面的两个因为前面加了特殊符号&#8220;*&#8221;和&#8220;_&#8221;,firefox认不了，所以只认background:#ffc，看到的是黄色； ie7前两短都能认，以最后的为准，所以最后解析是background:#ccc，看到的是灰色； ie6三段都能认，而且&#8220;_&#8221;这个只有ie6能认，所以最后解析是_background:#000，看到的是黑色 这已经是最简单和最好理解的写法了，如果你是google进来的，我可以很负责任的告诉你，这种方法是ok的，我测试过。 ie8的那段兼容7的代码我也测试过了，在我现在的windos 7 测试版所带的ie8是没问题的，以后ie8正式版出来还管不管用就不知道了。 ps：如果你发现按我这样写还是有问题的话，请查看一下你的html头，看看&#60;head&#62;之前的内容是不是这样的标准写法 &#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; 这个是现在比较规范的写法，如果你是用dreamweaver做页面的话，默认也是这种规范的，切记，非这种规范写法的，兼容性不能保证。 第二种方法： 要求苛刻的朋友是不愿意在页面头部增加&#60;meta http-equiv=&#34;x-ua-compatible&#34; content=&#34;ie=7&#34; /&#62;这样一句代码的，因为这样的结果是每个页面都得加。那么要想兼容这几个浏览器还真得想别的办法了。在之前发布的&#8220;全面兼容的css透明滤镜 &#8221;文章中，可能当时测试的疏忽，IE8的兼容性没有解决好，现在这个问题也可以解决了。 以下是兼容IE6/IE7/IE8/FF的写法，注意下面的顺序不可颠倒 margin-bottom:40px;&#160;&#160;&#160;&#160;&#160;&#160; /*ff的属性*/ margin-bottom:140px9;&#160;&#160;&#160; /* IE6/7/8的属性 */ color:red;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /* [...]]]></description>
			<content:encoded><![CDATA[<p>浏览器市场的混乱，给设计师造成很大的麻烦，设计的页面兼容完这个浏览器还得兼容那个浏览器，本来ie6跟ff之间的兼容是很容易解决的。加上个ie7会麻烦点，ie8的出现就更头疼了，原来hack ie7的方法又不能用了，怎么办呢？</p>
<p><strong>第一种方法：</strong></p>
<p>应用微软提供的代码：</p>
<blockquote><p><span style="color: #008080">&lt;meta http-equiv=&quot;x-ua-compatible&quot; content=&quot;ie=7&quot; /&gt;</span></p></blockquote>
<p>把这段代码放到&lt;head&gt;里面，在ie8里面的页面解析起来就跟ie7一模一样的了，所以，基本上可以无视ie8，剩下的代码只需要这样写就可以了</p>
<blockquote><p><span style="color: #008080">background:#ffc; /*&nbsp; 对firefox有效*/<br />
	*background:#ccc; /* 对ie7有效 */<br />
	_background:#000; /* 只对ie6有效 */</span></p></blockquote>
<p>说明：</p>
<p>firefox能解析第一段，后面的两个因为前面加了特殊符号&ldquo;*&rdquo;和&ldquo;_&rdquo;,firefox认不了，所以只认background:#ffc，看到的是黄色；</p>
<p>ie7前两短都能认，以最后的为准，所以最后解析是background:#ccc，看到的是灰色；</p>
<p>ie6三段都能认，而且&ldquo;_&rdquo;这个只有ie6能认，所以最后解析是_background:#000，看到的是黑色</p>
<p>这已经是最简单和最好理解的写法了，如果你是google进来的，我可以很负责任的告诉你，这种方法是ok的，我测试过。</p>
<p>ie8的那段兼容7的代码我也测试过了，在我现在的windos 7 测试版所带的ie8是没问题的，以后ie8正式版出来还管不管用就不知道了。</p>
<p>ps：如果你发现按我这样写还是有问题的话，请查看一下你的html头，看看&lt;head&gt;之前的内容是不是这样的标准写法</p>
<p><span style="color: #008080">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
	&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;</span></p>
<p>这个是现在比较规范的写法，如果你是用dreamweaver做页面的话，默认也是这种规范的，切记，非这种规范写法的，兼容性不能保证。</p>
<p><strong>第二种方法：</strong></p>
<p>要求苛刻的朋友是不愿意在页面头部增加<span style="color: #008080">&lt;meta http-equiv=&quot;x-ua-compatible&quot; content=&quot;ie=7&quot; /&gt;</span>这样一句代码的，因为这样的结果是每个页面都得加。那么要想兼容这几个浏览器还真得想别的办法了。在之前发布的&ldquo;<a href="http://www.yangqiqi.com/quan_mian_jian_rong_de_css_tou_ming_lv_jing/" rel="bookmark" title="Permanent Link: 全面兼容的css透明滤镜"><font color="#d77250">全面兼容的css透明滤镜 </font></a>&rdquo;文章中，可能当时测试的疏忽，IE8的兼容性没有解决好，现在这个问题也可以解决了。</p>
<p>以下是兼容IE6/IE7/IE8/FF的写法，注意下面的顺序不可颠倒</p>
<blockquote><p><span style="color: #008080">margin-bottom:40px;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*ff的属性*/<br />
	margin-bottom:140px9;&nbsp;&nbsp;&nbsp; /* IE6/7/8的属性 */<br />
	color:red ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* IE8支持 */<br />
	*margin-bottom:450px;&nbsp;&nbsp;&nbsp;&nbsp; /*IE6/7的属性*/</span></p></blockquote>
<p>下面以一个实例的形式表现，大家可以运行代码查看一下效果&mdash;&mdash;</p>
<p><span style="color: #008080">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
	&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />
	&lt;head&gt;<br />
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />
	&lt;title&gt;针对ie6,ie7,ie8,ff的CSS HACK写法&lt;/title&gt;<br />
	&lt;style type=&quot;text/css&quot;&gt;<br />
	&nbsp;&nbsp;&nbsp;&nbsp; #abc {<br />
	&nbsp;&nbsp;&nbsp;&nbsp; border:2px solid #00f;&nbsp;&nbsp;&nbsp;&nbsp; /*ff的属性*/<br />
	&nbsp;&nbsp;&nbsp;&nbsp; border:2px solid #0909;&nbsp;&nbsp; /* IE6/7/8的属性 */<br />
	&nbsp;&nbsp;&nbsp;&nbsp; border:2px solid #F90 ;&nbsp;&nbsp;&nbsp;&nbsp; /* IE8支持 */<br />
	&nbsp;&nbsp;&nbsp;&nbsp; _border:2px solid #f00;&nbsp;&nbsp;&nbsp;&nbsp; /*IE6的属性*/<br />
	&nbsp;&nbsp; }<br />
	&nbsp;/*上下顺序不可以写错*/<br />
	&nbsp;&lt;/style&gt;<br />
	&lt;/head&gt;<br />
	&lt;body&gt;<br />
	&lt;div id=&quot;abc&quot;&gt;<br />
	&nbsp; &lt;ul&gt;<br />
	&nbsp;&nbsp;&nbsp; &lt;li&gt;FF下蓝边&lt;/li&gt;<br />
	&nbsp;&nbsp;&nbsp; &lt;li&gt;IE6下红边&lt;/li&gt;<br />
	&nbsp;&nbsp;&nbsp; &lt;li&gt;IE7下绿边&lt;/li&gt;<br />
	&nbsp;&nbsp;&nbsp; &lt;li&gt;IE8下黄边&lt;/li&gt;<br />
	&nbsp;&nbsp; &lt;/ul&gt;<br />
	&lt;/div&gt;<br />
	&lt;/body&gt;<br />
	&lt;/html&gt; </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.yangqiqi.com/css_hack_zhen_dui_ie6_ie7_ie8_yi_ji_firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

