<?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>Smart red fox &#187; html</title>
	<atom:link href="http://www.smartredfox.com/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smartredfox.com</link>
	<description>Thoughts from the web and stuff</description>
	<lastBuildDate>Mon, 28 Jun 2010 15:40:10 +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>First impressions of YAML</title>
		<link>http://www.smartredfox.com/2008/10/first-steps-with-yaml/</link>
		<comments>http://www.smartredfox.com/2008/10/first-steps-with-yaml/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 14:53:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[YAML]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=45</guid>
		<description><![CDATA[Okay, I&#8217;ll be honest I&#8217;m a bit of a magpie when it comes to web development, and in particular css frameworks. One week I&#8217;ll be telling everyone that&#8217;ll listen (which isn&#8217;t many people) about how great YUI is, and the next week I&#8217;ll be waxing lyrical about the excellent Blueprint framework. So with that little [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smartredfox.com/wp-content/uploads/2008/10/yaml.png"><img class="alignright size-full wp-image-65" style="border: 1px solid #ccc;" title="yaml" src="http://www.smartredfox.com/wp-content/uploads/2008/10/yaml.png" alt="YAML logo" width="225" height="169" /></a>Okay, I&#8217;ll be honest I&#8217;m a bit of a magpie when it comes to web development, and in particular css frameworks. One week I&#8217;ll be telling everyone that&#8217;ll listen (which isn&#8217;t many people) about how great YUI is, and the next week I&#8217;ll be waxing lyrical about the excellent Blueprint framework.</p>
<p>So with that little disclaimer out of the way, here&#8217;s my take on the rather excellent YAML CSS framework, and my first foray into using it to layout a site.</p>
<p>First things first; YAML seems to be very well thought out. It claims to be cross browser compliant in almost every browser that&#8217;s still in use by more than one man and his dog, and it fixes most of the major problems web developers run into with the older browsers.</p>
<p>Unlike YUI and some of the other Frameworks you&#8217;ll need to download the css files etc. and host them yourself. These can all be downloaded from <a title="Go to the download page." href="http://www.yaml.de/en/download.html" target="_blank">here.</a></p>
<p>YAML lets you get off to a flying start without any real work creating css reset files etc. After slicing and dicing a design I&#8217;ve been working on for a week I managed to get a site up and running cross-browser on the first attempt. This seems to happen very rarely for me. I&#8217;ll admit there were a few tweaks here and there to make it perfect, but overall it just worked.</p>
<p>It&#8217;s got a few default styles that are well thought out and I&#8217;m already finding myself duplicating them in other projects I work on that don&#8217;t use YAML. I&#8217;ll cover details of some of these styles and a bit more on how to use the framework in later posts.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-3921669375576540";
google_ad_slot = "1444433905";
google_ad_width = 200;
google_ad_height = 200;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/10/first-steps-with-yaml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Min-height in IE6</title>
		<link>http://www.smartredfox.com/2008/05/min-height-in-ie6/</link>
		<comments>http://www.smartredfox.com/2008/05/min-height-in-ie6/#comments</comments>
		<pubDate>Tue, 20 May 2008 11:05:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IE6]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[bug]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=7</guid>
		<description><![CDATA[We all know the problem: You need to set a minimum height on an object but IE6 ignores it and ruins your layout. Well worry no more, there is a simple fix: selector { min-height:500px; height:auto !important; height:500px; } This takes advantage of two IE6 bugs: IE6 ignores the !important and sets the height using [...]]]></description>
			<content:encoded><![CDATA[<p>We all know the problem: You need to set a minimum height on an object but IE6 ignores it and ruins your layout. Well worry no more, there is a simple fix:</p>
<p><code>selector {<br />
min-height:500px;<br />
height:auto !important;<br />
height:500px;<br />
}</code></p>
<p>This takes advantage of two IE6 bugs:</p>
<ol>
<li>IE6 ignores the !important and sets the height using the last line.</li>
<li>IE6 treats height like it should treat min-height and lets child objects cause the parent to expand.</li>
</ol>
<p>I found this <a title="./with Imagination" href="http://www.dustindiaz.com/min-height-fast-hack/" target="_blank">helpful solution here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/05/min-height-in-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping your footer at the bottom of the page</title>
		<link>http://www.smartredfox.com/2008/04/keeping-your-footer-at-the-bottom-of-the-page/</link>
		<comments>http://www.smartredfox.com/2008/04/keeping-your-footer-at-the-bottom-of-the-page/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 13:12:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[footer]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=6</guid>
		<description><![CDATA[Created a site design but keep getting white space showing below your loving crafted footer? Me too, a bit of research later and I&#8217;ve found a fix that works well, integrates with the yui framework, and seems to work well cross-browser. The basic principle is pretty simple. Make the body 100% tall no matter what. [...]]]></description>
			<content:encoded><![CDATA[<p>Created a site design but keep getting white space showing below your loving crafted footer? Me too, a bit of research later and I&#8217;ve found a fix that works well, integrates with the yui framework, and seems to work well cross-browser.</p>
<p>The basic principle is pretty simple.</p>
<ul>
<li>Make the body 100% tall no matter what.</li>
<li>Give it a negative bottom margin the size of your footer.</li>
<li>Move you footer up into the space left by the bottom margin</li>
</ul>
<p>There&#8217;s a few other steps to make it work cross-browser (ie6+) but that&#8217;s basically it.</p>
<p>I found the solution <a href="http://fortysevenmedia.com/blog/archives/making_your_footer_stay_put_with_css/">here</a>.</p>
<p><a href="http://fortysevenmedia.com/blog/archives/making_your_footer_stay_put_with_css/"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/04/keeping-your-footer-at-the-bottom-of-the-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image button not aligning vertically with input box</title>
		<link>http://www.smartredfox.com/2008/04/image-submit-button-not-aligning-with-input-box/</link>
		<comments>http://www.smartredfox.com/2008/04/image-submit-button-not-aligning-with-input-box/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 13:07:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=5</guid>
		<description><![CDATA[This is an odd problem. You have a perfectly normal search box with a go button next to it &#8211; a classic layout some might say. The problem is that the go button seems to sit about half-way up the side of the search box. Now, having tried to fix css/html problems cross-browser before, I [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp"><img class="size-full wp-image-159 alignleft" style="border: 1px solid #cccccc; margin: 10px;" title="Mis-aligned button in IE7" src="http://www.smartredfox.com/wp-content/uploads/2008/04/misalignedbutton.png" alt="Mis-aligned button in IE7" width="144" height="56" /></div>
<p>This is an odd problem. You have a perfectly normal search box with a go button next to it &#8211; a classic layout some might say. The problem is that the go button seems to sit about half-way up the side of the search box.  Now, having tried to fix css/html problems cross-browser before, I was fully expecting to spend a few hours looking for solutions trying them in FF, IE etc. and then mixing and matching my perfect solution&#8230; In this case I was stopped short&#8230; Very short in fact. The fix is simple as adding a position:absolute to the button. Problem solved.  See <a href="http://blog.taragana.com/index.php/archive/how-to-perfectly-align-image-button-with-html-input-textbox/">here</a> for where I found the fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/04/image-submit-button-not-aligning-with-input-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing spaces below images in FF &amp; Safari</title>
		<link>http://www.smartredfox.com/2008/03/removing-spaces-below-images-in-ff-safari/</link>
		<comments>http://www.smartredfox.com/2008/03/removing-spaces-below-images-in-ff-safari/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 12:24:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=4</guid>
		<description><![CDATA[Here&#8217;s an annoying problem. A site renders perfectly in IE6 (this alone is surprising) but in Firefox2 and Safari it shows a 4px space below each image: Images naturally sit on the baseline. This means that they&#8217;re about 4px up from the bottom normally. Setting vertical-align: bottom or display:block seems to clear it. The solution [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an annoying problem. A site renders perfectly in IE6 (this alone is surprising)  but in Firefox2 and Safari it shows a 4px space below each image:</p>
<p>Images naturally sit on the baseline. This means that they&#8217;re about 4px up from the bottom normally. Setting vertical-align: bottom or display:block seems to clear it.</p>
<p>The solution for this was found <a href="http://archivist.incutio.com/viewlist/css-discuss/45493">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/03/removing-spaces-below-images-in-ff-safari/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centering absolutely positioned elements</title>
		<link>http://www.smartredfox.com/2008/03/centering-absolutely-positioned-elements/</link>
		<comments>http://www.smartredfox.com/2008/03/centering-absolutely-positioned-elements/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 19:46:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[centering]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.smartredfox.com/?p=3</guid>
		<description><![CDATA[Having problems setting auto margins on an absolutely positioned element? Me too&#8230; until I found that I was missing one simple bit of css. When centering an absolutely positioned element horizontally you have to specify the left and right properties as zero for this to work! I found the solution here but I thought I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>Having problems setting auto margins on an absolutely positioned element? Me too&#8230; until I found that I was missing one simple bit of css.</p>
<p>When centering an absolutely positioned element horizontally you have to specify the left and right properties as zero for this to work!</p>
<p>I found the <a href="http://css-discuss.incutio.com/?page=CenteringBlockElement" title="Incutio.com">solution here</a> but I thought I&#8217;d note it down for all those people that may not have come across this themselves. Somehow it seems to have passed me by&#8230;</p>
<blockquote><p> Auto-margins can center an absolutely positioned element inside its containing block.</p>
<p>For this to work, you have to</p>
<ul>
<li> specify the offset properties (of opposite sides) with same values, i.e. by setting  <tt> left:0; right:0;</tt> for horizontal centering and <tt> top:0; bottom:0;</tt> for vertical centering,</li>
<li> set dimensions along the axis you want to center along,</li>
<li> enable auto-margins along the axis you want to center along.</li>
</ul>
<p>Internet Explorer note: IE6 can not relate absolutely positioned elements to opposite sides of containing block, so only one of the offset properties is used. This brings the element out of balance and renders auto-margins useless.</p></blockquote>
<p>I hope someone finds this useful&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smartredfox.com/2008/03/centering-absolutely-positioned-elements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
