<?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>中文Flex例子 &#187; 外补白</title>
	<atom:link href="http://blog.minidx.com/tag/%e5%a4%96%e8%a1%a5%e7%99%bd/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.minidx.com</link>
	<description>中文Adobe Flex例子,Flex实例教程,RIA资源,全文检索技术,算法和数据结构</description>
	<lastBuildDate>Thu, 31 Mar 2011 03:22:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>利用margin属性调整画面各元素位置</title>
		<link>http://blog.minidx.com/2007/12/16/257.html</link>
		<comments>http://blog.minidx.com/2007/12/16/257.html#comments</comments>
		<pubDate>Sun, 16 Dec 2007 11:36:51 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Web/CGI相关]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[margin]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[外补白]]></category>
		<category><![CDATA[外边距]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2007/12/16/257.html</guid>
		<description><![CDATA[对于WordPress中的各部分，利用margin属性，在CSS中可以方便的调整个部分的位置。
margin也称为外边距或者外补白，margin属性包括margin-top,margin-right,margin-bottom,margin-left。可以用来设置box的margin area。属性margin可以用来同时设置box的四边外边距，而其他的margin属性只能设置其自各的外边距。margin属性可以应用于几乎所有的元素。








属性margin有四个值，那么值将按照上-右-下-左的顺序作用于四边，即从元素的上边开始，按照顺时针的顺序围绕元素。表达式如下：
margin：top right bottom left；
四个数值中间以空格分隔。效果等同于：
margin-top:value;margin-right:value;margin-bottom:value;margin-left:value;
并且规范还提供了省略的数值写法，基本原则如下：●如果没有left值，则使用right代替；●如果没有bottom值，则使用top代替；●如果没有right值，则使用top值代替。
另外Margin允许省略部分数值，大致有下面这几种省略：
●如果margin只有三个值，按照值的顺序为margin：top right bottom; 缺少了left，根据原则，则left的值有right来代替。
margin:10px 20px 30px;就等于margin:10px 20px 30px 20px;
●如果margin只有两个值，按照值的顺序为margin：top right; 缺少了bottom和left，根据原则left的值由right来代替，bottm的值由top来代替。
margin:10px 20px;就等于margin:10px 20px 10px 20px;
●如果margin只有一个值，按照值的顺序为margin:top; 缺少了bottom、left和right，根据原则left的值由right来代替，bottom的值由top来代替，right的值右top来代替，也就是说left的值也由top来代替。
margin:10px;就等于margin:10px 10px 10px 10px;
你可能还对下列文章感兴趣:头部增加了导航栏修改WordPress模板好累啊~25篇非常详细的关于如何从PSD转换为HTML&#38;CSS的教程Flex Gumbo中如何通过使用CSS给FxToggleButton设置特殊状态的例子61款非常不错的免费Wordpress商业模板]]></description>
		<wfw:commentRss>http://blog.minidx.com/2007/12/16/257.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 3/7 queries in 0.020 seconds using disk
Object Caching 159/311 objects using disk

Served from: blog.minidx.com @ 2012-02-10 01:46:58 -->
