<?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>猫窝私语 — Makumo&#039;s Blog &#187; DIV</title>
	<atom:link href="http://www.makumo.com/tag/div/feed" rel="self" type="application/rss+xml" />
	<link>http://www.makumo.com</link>
	<description>玛酷猫的温馨小窝，记录生活点点滴滴。</description>
	<lastBuildDate>Wed, 24 Mar 2010 07:08:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>让DIV里面的文字垂直居中</title>
		<link>http://www.makumo.com/div_middle.cat</link>
		<comments>http://www.makumo.com/div_middle.cat#comments</comments>
		<pubDate>Thu, 21 Jun 2007 00:49:33 +0000</pubDate>
		<dc:creator>玛酷猫</dc:creator>
				<category><![CDATA[页面设计]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[DIV]]></category>

		<guid isPermaLink="false">http://nest.makumo.com/2007/06/div_middle.html</guid>
		<description><![CDATA[之前在做DIV+CSS的页面中经常遇到这种问题，虽然可以用定高以及DIV的位置解决，但是遇到文字内容不固定就比较头痛。今天无意中看到篇文章说到这点，转录如下： .con_div{ width:440px; height:300px; border:1px solid #777; text-align:center; display:table-cell; vertical-align:middle; background:red; color:#fff } /*FOR IE*/ .fixie{ width:0; height:100%; display:inline-block; vertical-align:middle; } 测试内容   看来还是要找些CSS的书来看下]]></description>
			<content:encoded><![CDATA[<p>之前在做DIV+CSS的页面中经常遇到这种问题，虽然可以用定高以及DIV的位置解决，但是遇到文字内容不固定就比较头痛。今天无意中看到篇文章说到这点，转录如下：</p>
<pre lang="css" line="1">.con_div{
  width:440px;
  height:300px;
  border:1px solid #777;
  text-align:center;
  display:table-cell;
  vertical-align:middle;
  background:red;
  color:#fff
}
/*FOR IE*/
.fixie{
  width:0;
  height:100%;
  display:inline-block;
  vertical-align:middle;
}
</pre>
<pre lang="html" line="17">
<div class="con_div">测试内容</div>
</pre>
<p> <br />
看来还是要找些CSS的书来看下</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makumo.com/div_middle.cat/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

