<?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>DemiLane &#187; CSS</title>
	<atom:link href="http://demilane.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://demilane.com</link>
	<description>Pages of Rogelio Calamaya</description>
	<lastBuildDate>Sun, 20 Jun 2010 19:20:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Tabbed Navigation in WordPress</title>
		<link>http://demilane.com/tabbed-navigation-in-wordpress/</link>
		<comments>http://demilane.com/tabbed-navigation-in-wordpress/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 08:18:35 +0000</pubDate>
		<dc:creator>Rogelio</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://blog.demilane.com/?p=455</guid>
		<description><![CDATA[I encountered this problem when I&#8217;m developing my first wordpress theme, a very simple problem and I want to share this tutorial to all of you. Hopefully it will give you an basic idea on how to make a tabbed navigation in you wordpress theme. Now, in our template file where our navigation is located(in ]]></description>
			<content:encoded><![CDATA[<p>I encountered this problem when I&#8217;m developing my first wordpress theme, a very simple problem and I want to share this tutorial to all of you. Hopefully it will give you an basic idea on how to make a tabbed navigation in you wordpress theme.</p>
<p>Now, in our template file where our navigation is located(<em>in my case, header.php</em>). We will paste the code below:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;ul id=&quot;nav&quot;&gt;
  &lt;li <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span><span style="color: #009900;">&#40;</span>is_home<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">'class=&quot;current_page_item&quot;'</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;
    &lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> bloginfo<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; title=&quot;Home&quot;&gt;Home&lt;/a&gt;
  &lt;/li&gt;
  <span style="color: #000000; font-weight: bold;">&lt;?php</span> 
     wp_list_pages<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort_column=menu_order&amp;title_li=&amp;depth=-1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">?&gt;</span>
&lt;/ul&gt;</pre></td></tr></table></div>

<p>The style:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#nav</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">list-style-type</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> li <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">inline</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">font</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span> <span style="color: #933;">12px</span> arial<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> li<span style="color: #6666ff;">.current_page_item</span> a<span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#60a013</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> li a<span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">4px</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> li a<span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#60a013</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>The code above will give the result, a simple tabbed navigation with an <code>:active</code> and <code>:hover</code> effect:</p>
<p><img class="size-full wp-image-457 aligncenter" title="wp-tabbed-final" src="http://demilane.com/wp-content/uploads/2009/06/wp-tabbed-final.jpg" alt="wp-tabbed-final" width="378" height="78" /></p>
<p>Notice that we add a &#8220;Home&#8221; link before we call the pages, to determine if the additional link is active we use the conditional tag <code>is_home()</code>. The <code>is_home()</code> returns true when the main blog page is currently being displayed, in our code if it&#8217;s true then it well print the <code>class="current_page_item"</code> else it will print nothing. More information about the conditional tags can be found <strong><a href="http://codex.wordpress.org/Conditional_Tags">here</a></strong>.</p>
<p>And we display the pages link using the <code>wp_list_pages()</code> template tag. We can customize the output of our links by using the parameters <code>sort_column=menu_order</code>, <code>title_li=''</code> and <code>depth=-1</code>.</p>
<p>The <code>sort_column=menu_order</code> can sort the list of pages in a different way. In our code we will sort the pages by Page Order. Page order can be set by user in the pages administrative panel. Next is <code>title_li=''</code>, this will not display headings and the list will not be wrapped with <code>&lt;ul&gt;...&lt;/ul&gt;</code>. And last <code>depth=-1</code>, will display the sub-pages as flat, the same as the other pages with no indent form. More information about the <code>wp_list_pages()</code> template tag can be found <strong><a href="http://codex.wordpress.org/Template_Tags/wp_list_pages">here</a></strong></p>


<p>Related posts:<ol><li><a href='http://demilane.com/sudden-change-of-theme-wordpress-2-8/' rel='bookmark' title='Permanent Link: Sudden Change of Theme: WordPress 2.8'>Sudden Change of Theme: WordPress 2.8</a></li>
<li><a href='http://demilane.com/twit-with-php/' rel='bookmark' title='Permanent Link: Twit with PHP[updated]'>Twit with PHP[updated]</a></li>
<li><a href='http://demilane.com/8-arm-creature-wp-theme/' rel='bookmark' title='Permanent Link: 8 Arm Creature WP-Theme'>8 Arm Creature WP-Theme</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://demilane.com/tabbed-navigation-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Toggle Grid in Blueprint CSS</title>
		<link>http://demilane.com/toggle-grid-in-blueprint-css/</link>
		<comments>http://demilane.com/toggle-grid-in-blueprint-css/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 20:41:15 +0000</pubDate>
		<dc:creator>Rogelio</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[blueprint]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://blog.demilane.com/?p=242</guid>
		<description><![CDATA[I started coding with the Blueprint CSS this night and since I&#8217;m a newbie, I am not yet familiar with the framework. So, I tend to manually toggle the showgrid class in the code. The showgrid class is an additional class that when present it shows a background of grids, it can be placed along ]]></description>
			<content:encoded><![CDATA[<p>I started coding with the <a href="http://www.blueprintcss.org/">Blueprint CSS</a> this night and since I&#8217;m a newbie, I am not yet familiar with the framework. So, I tend to manually toggle the <code>showgrid</code> class in the code. The <code>showgrid</code> class is an additional class that when present it shows a background of grids, it can be placed along with the <code>container</code> class. Which is handy when working with alignments. The sad part is the toggling, so I&#8217;ve written this simple script to toggle the grid of the Blueprint CSS and to please my laziness.</p>
<p>Put the script below inside the <code>&lt;head&gt;</code> element.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>  
  <span style="color: #003366; font-weight: bold;">function</span> toggleGrid<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> toggle <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'toggleGrid'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #003366; font-weight: bold;">var</span> container<span style="color: #339933;">;</span>			
    <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>toggle.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'Hide Grid'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      toggle.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'Show Grid'</span><span style="color: #339933;">;</span>
      ripClass<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> 
    <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>toggle.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'Show Grid'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      toggle.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'Hide Grid'</span><span style="color: #339933;">;</span>
      ripClass<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">' showgrid'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #003366; font-weight: bold;">function</span> ripClass<span style="color: #009900;">&#40;</span>c<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">getElementsByClassName</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      container <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByClassName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'container'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> container.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        container<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">className</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'container'</span> <span style="color: #339933;">+</span> c<span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
      container <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'div'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> container.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>container<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">className</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'container'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          container<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">className</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'container'</span> <span style="color: #339933;">+</span> c<span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>container<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">className</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'container showgrid'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          container<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">className</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'container'</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></td></tr></table></div>

<p>Next the style.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">&lt;style type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #00AA00;">&gt;</span>
div<span style="color: #cc00cc;">#toggleGrid</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">fixed</span><span style="color: #00AA00;">;</span>	
  <span style="color: #000000; font-weight: bold;">text-align</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">center</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100px</span><span style="color: #00AA00;">;</span>		
<span style="color: #00AA00;">&#125;</span>
div<span style="color: #cc00cc;">#toggleGrid</span><span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#FF6F6F</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>		
&lt;/style<span style="color: #00AA00;">&gt;</span></pre></td></tr></table></div>

<p>Then after that, we need to create a <code>&lt;div&gt;</code> element inside the body with the <code>id="toggleGrid"</code> and <code>onclick()</code> event calling the <code>toggleGrid()</code> function that we created above. It should look like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>55
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;div id=&quot;toggleGrid&quot; onclick=&quot;toggleGrid();&quot;&gt;Show Grid&lt;/div&gt;</pre></td></tr></table></div>

<p>The <code>&lt;div&gt;</code> element will be position as fixed in the top left of the browser. Tested in Mozilla Firefox 3, Google Chrome, Opera 9, Apple Safari(win) and IE6/7.<br />
Check the <strong><a href="http://demilane.com/dl/blueprint-toggle-grid/">demo</a></strong>.</p>


<p>Related posts:<ol><li><a href='http://demilane.com/absolute-and-relative-positioning/' rel='bookmark' title='Permanent Link: Absolute and Relative Positioning'>Absolute and Relative Positioning</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://demilane.com/toggle-grid-in-blueprint-css/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Absolute and Relative Positioning</title>
		<link>http://demilane.com/absolute-and-relative-positioning/</link>
		<comments>http://demilane.com/absolute-and-relative-positioning/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 01:36:36 +0000</pubDate>
		<dc:creator>Rogelio</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[layout]]></category>

		<guid isPermaLink="false">http://blog.demilane.com/?p=67</guid>
		<description><![CDATA[With the Absolute position you can position the page element anywhere in the parent element. You can control them the way you want. And much more control if the parent element is relatively positioned. Let&#8217;s just assume that the box with dashed border is your browser window. This is what is looks like if the ]]></description>
			<content:encoded><![CDATA[<p>With the <strong>Absolute position</strong> you can position the page element anywhere in the parent element. You can control them the way you want. And much more control if the parent element is <strong>relatively positioned</strong>.</p>
<p>Let&#8217;s just assume that the box with dashed border is your browser window. This is what is looks like if the position on the parent element is set to default:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-95" title="position_static" src="http://demilane.com/wp-content/uploads/2008/12/position_static.jpg" alt="Image 1" width="450" height="350" /></p>
<p>And this, if the position on parent element is set to <strong>relative</strong>:</p>
<p style="text-align: center;"><img class="size-full wp-image-99 aligncenter" title="position_relative" src="http://demilane.com/wp-content/uploads/2008/12/position_relative.jpg" alt="Image 2" width="450" height="350" /></p>
<p>The explanation to the images above is that when the element is set to absolute position, it position itself with respect to the parent element(<em>Image 2</em>). But when the parent element is not relatively position, it position itself to the body element ignoring the parent element(<em>Image 1</em>).</p>
<p>So what happens when the <strong>#child_element_1</strong> is set to default position(<em>static</em>) and the sibling is set to absolute position? See the image below:</p>
<p style="text-align: center;"><img class="size-full wp-image-101 aligncenter" title="position_problem" src="http://demilane.com/wp-content/uploads/2008/12/position_problem.jpg" alt="Image 3" width="450" height="350" /></p>
<p>As you can see in the image above, while the <strong>#child_element_1</strong>&#8216;s height is increasing the <strong>#parent_element</strong>&#8216;s height will increase too but not with the <strong>#child_element_2</strong>&#8216;s height. It&#8217;s because when the element is set to absolute position, that element is remove from the normal flow.</p>
<p>Hope this will help. Cheers!</p>


<p>Related posts:<ol><li><a href='http://demilane.com/toggle-grid-in-blueprint-css/' rel='bookmark' title='Permanent Link: Toggle Grid in Blueprint CSS'>Toggle Grid in Blueprint CSS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://demilane.com/absolute-and-relative-positioning/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
