<?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>MyLifeBBS &#187; Same Height Container</title>
	<atom:link href="http://www.mylifebbs.com/tag/same-height-container/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mylifebbs.com</link>
	<description>The World without Boundaries</description>
	<lastBuildDate>Sat, 05 Jun 2010 14:17:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Making DIV Containers Same Height to each other.</title>
		<link>http://www.mylifebbs.com/2009/10/making-div-cotainers-same-height-to-each-other/</link>
		<comments>http://www.mylifebbs.com/2009/10/making-div-cotainers-same-height-to-each-other/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 02:25:00 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[DotNetNuke]]></category>
		<category><![CDATA[Same Height Container]]></category>

		<guid isPermaLink="false">http://www.mylifebbs.com/2009/10/making-div-cotainers-same-height-to-each-other/</guid>
		<description><![CDATA[Often Portal based web design will have flexible height on all content columns. However, sometimes it will be very ugly if your content is too long and leaving your right column, for example blank.
There are many scriptless, pure CSS solutions to fix this problem but turns out you have to write a lot of CSS [...]


Related posts:<ol><li><a href='http://www.mylifebbs.com/2009/10/give-an-unique-id-for-every-dnn-containers/' rel='bookmark' title='Permanent Link: Give an unique id for every DNN Containers'>Give an unique id for every DNN Containers</a></li>
<li><a href='http://www.mylifebbs.com/2009/05/making-dotnetnuke-logo-link-seo-friendly/' rel='bookmark' title='Permanent Link: Making DotNetNuke Logo Link SEO Friendly!'>Making DotNetNuke Logo Link SEO Friendly!</a></li>
<li><a href='http://www.mylifebbs.com/2009/10/best-free-javascript-and-css-compressor-to-optimized-your-website/' rel='bookmark' title='Permanent Link: Best Free JavaScript and CSS Compressor to Optimized your Website.'>Best Free JavaScript and CSS Compressor to Optimized your Website.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Often Portal based web design will have flexible height on all content columns. However, sometimes it will be very ugly if your content is too long and leaving your right column, for example blank.</p>
<p>There are many scriptless, pure CSS solutions to fix this problem but turns out you have to write a lot of CSS and html to make it compatible in all type of browsers. This is just not applicable for heavy web applications like DotNetNuke.</p>
<p> <span id="more-262"></span>
</p>
<p>Well, the solution is simple. With the pre-installed jquery in DNN5, all you need is to include a simple script like below in your DNN Page header to adjust your content panes height:</p>
<pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px">
<pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"> $(<span style="color: #0000ff">document</span>).ready(<span style="color: #0000ff">function</span>() {
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"></pre>
<pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">        <span style="color: #0000ff">var</span> sameHeight = $(&quot;<span style="color: #8b0000">#DNN_ContentPane</span>&quot;).height();
</pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">		  $(&quot;<span style="color: #8b0000">#DNN_RightPane</span>&quot;).height(sameHeight);
</pre>
<pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"></pre>
<pre style="background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px">    });
</pre>
<pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 12px"></pre>
</pre>


<p>Related posts:<ol><li><a href='http://www.mylifebbs.com/2009/10/give-an-unique-id-for-every-dnn-containers/' rel='bookmark' title='Permanent Link: Give an unique id for every DNN Containers'>Give an unique id for every DNN Containers</a></li>
<li><a href='http://www.mylifebbs.com/2009/05/making-dotnetnuke-logo-link-seo-friendly/' rel='bookmark' title='Permanent Link: Making DotNetNuke Logo Link SEO Friendly!'>Making DotNetNuke Logo Link SEO Friendly!</a></li>
<li><a href='http://www.mylifebbs.com/2009/10/best-free-javascript-and-css-compressor-to-optimized-your-website/' rel='bookmark' title='Permanent Link: Best Free JavaScript and CSS Compressor to Optimized your Website.'>Best Free JavaScript and CSS Compressor to Optimized your Website.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.mylifebbs.com/2009/10/making-div-cotainers-same-height-to-each-other/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
