<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[在css+div里面实现div的底对齐]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Tue, 09 Mar 2010 11:44:42 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	开始拉~，话说在css+div的年代里，网页布局成了代码高手的专利，没有点底子的人还真搞不定css+div,还是老老实实的table套table吧。table虽然不符合这标准，不符合那个标准，不过在布局方面确实还是宝刀不老的说。不过，必经是一个过去的时代的东西了，现在就说说如何让一个div实现底部对齐<br/><div class="code"><br/>&lt;style&gt;<br/>#parent&#123;<br/>width:300px;<br/>height:300px;<br/>background:gray;<br/>&#125;<br/>#i_want_to_be_bottom&#123;<br/>width:100px;<br/>height:30px;<br/>background:red;<br/>&#125;<br/>&lt;/style&gt;<br/>&lt;div id=&quot;parent&quot;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id=&quot;i_want_to_be_bottom&quot;&gt;&lt;/div&gt;<br/>&lt;/div&gt;<br/></div><br/><a href="http://jackxiang.com/attachment.php?fid=70" target="_blank"><img src="http://jackxiang.com/attachment.php?fid=70" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>变动后代码:<br/><br/><div class="code"><br/>&lt;style&gt;<br/>#parent&#123;<br/>width:300px;<br/>height:300px;<br/>background:gray;<br/>position:relative;<br/>&#125;<br/>#i_want_to_be_bottom&#123;<br/>width:100px;<br/>height:30px;<br/>background:red;<br/>position:absolute;<br/>bottom:0px;<br/>&#125;<br/>&lt;/style&gt;<br/>&lt;div id=&quot;parent&quot;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id=&quot;i_want_to_be_bottom&quot;&gt;&lt;/div&gt;<br/>&lt;/div&gt;<br/><br/></div><br/><br/><a href="http://jackxiang.com/attachment.php?fid=71" target="_blank"><img src="http://jackxiang.com/attachment.php?fid=71" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>三、变动点提示<br/><br/>#parent&#123;<br/>....<br/>postion:relative;<br/>....<br/>&#125;<br/>#i_want_to_be_bottom&#123;<br/>....<br/>position:absolute;<br/>bottom:0px;<br/>....<br/>&#125; <br/><br/>提示：一个是relative ，一个是absolute，bottom：0px，这三个点！<br/><br/>四、写在最后<br/>当然，你也可以设置子div的margin选项达到底对齐的目的，但是如果父div的高度是可变的时候，这样做就不行了。所以，达到子div底对齐的万能办法是使用如上所述办法，当然，有的时候，你可以使用子div的right:0px来达到右对齐的目的。<br/><br/>来源：http://blog.sina.com.cn/s/blog_4c4a58ca01000bed.html<br/>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 在css+div里面实现div的底对齐]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>