<?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>Programming &#38; technology &#187; CSS</title>
	<atom:link href="http://limborey.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://limborey.com</link>
	<description>some useful stuff related to Programming Language, Pattern &#38; technology</description>
	<lastBuildDate>Sun, 30 May 2010 08:07:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>CSS div make a table like</title>
		<link>http://limborey.com/2009/05/01/css-div-make-a-table-like/</link>
		<comments>http://limborey.com/2009/05/01/css-div-make-a-table-like/#comments</comments>
		<pubDate>Fri, 01 May 2009 04:17:47 +0000</pubDate>
		<dc:creator>Borey</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://limborey.wordpress.com/?p=86</guid>
		<description><![CDATA[In table of height 500px, if we have 2 rows and we set the first one 100px, the second will fill in the rest of the space. In CSS, we can all so make our div behave the same as table. Here sample code:

&#60;html&#62;
  &#60;head&#62;
    &#60;style&#62;
    #main {
 [...]]]></description>
			<content:encoded><![CDATA[<p>In table of height 500px, if we have 2 rows and we set the first one 100px, the second will fill in the rest of the space. In CSS, we can all so make our div behave the same as table. Here sample code:</p>
<pre class="brush: xml;">
&lt;html&gt;
  &lt;head&gt;
    &lt;style&gt;
    #main {
      height: 100%;
      width: 100%;
      position: relative;
    }
    #top{
      background-color: blue;
      height: 200px;
    }
    #bottom{
      background-color: gray;
      position: absolute;
      bottom: 0px;
      top: 200px;
      width: 100%
    }
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id=&quot;main&quot;&gt;
      &lt;div id=&quot;top&quot;&gt;&lt;/div&gt;
      &lt;div id=&quot;bottom&quot;&gt;&lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://limborey.com/2009/05/01/css-div-make-a-table-like/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
