<?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>The web stuff journal &#187; CSS</title>
	<atom:link href="http:///blog/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>/blog</link>
	<description></description>
	<lastBuildDate>Sat, 15 Aug 2009 19:20:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Force IE8 to compatability mode IE7</title>
		<link>/blog/force-ie8-to-compatability-mode-ie7/2009/08/15/</link>
		<comments>/blog/force-ie8-to-compatability-mode-ie7/2009/08/15/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 16:26:19 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">/blog/force-ie8-to-compatability-mode-ie7/2009/08/15/</guid>
		<description><![CDATA[If you found this post then Microsoft Internet Explorer 8 has probably broken your website. All that nice CSS work has been ruined.
A solution is to force IE8 to run in compatability mode of IE7.
&#60;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=7&#8243; /&#62;
]]></description>
			<content:encoded><![CDATA[<p>If you found this post then Microsoft Internet Explorer 8 has probably broken your website. All that nice CSS work has been ruined.</p>
<p>A solution is to force IE8 to run in compatability mode of IE7.</p>
<p>&lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=7&#8243; /&gt;</p>
]]></content:encoded>
			<wfw:commentRss>/blog/force-ie8-to-compatability-mode-ie7/2009/08/15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display background behind a floating element</title>
		<link>/blog/display-background-behind-a-floating-element/2008/11/19/</link>
		<comments>/blog/display-background-behind-a-floating-element/2008/11/19/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 17:21:11 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">/blog/?p=63</guid>
		<description><![CDATA[Ok&#8230; so you setup a page with a blue background and float an object left, for example. You now see that the background colour on the float is white! Ruining the look of your page.
&#60;div id=&#8221;contentBody&#8221;&#62;
&#60;div style=&#8221;float: left;&#8221;&#62;Floated Content&#60;/div&#62;
&#60;/div&#62;
So how do we do it? Use the following hack:
#contentBody:after { content: &#8220;.&#8221;; display: block; height: 0; [...]]]></description>
			<content:encoded><![CDATA[<p>Ok&#8230; so you setup a page with a blue background and float an object left, for example. You now see that the background colour on the float is white! Ruining the look of your page.</p>
<p>&lt;div id=&#8221;contentBody&#8221;&gt;<br />
&lt;div style=&#8221;float: left;&#8221;&gt;Floated Content&lt;/div&gt;<br />
&lt;/div&gt;</p>
<p>So how do we do it? Use the following hack:</p>
<p>#contentBody:after { content: &#8220;.&#8221;; display: block; height: 0; clear: both; visibility: hidden; } * html #contentBody { height: 1%;}</p>
]]></content:encoded>
			<wfw:commentRss>/blog/display-background-behind-a-floating-element/2008/11/19/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Starting Template</title>
		<link>/blog/css-starting-template/2008/09/20/</link>
		<comments>/blog/css-starting-template/2008/09/20/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 14:22:39 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">/blog/?p=14</guid>
		<description><![CDATA[As with the HTML, I have created a CSS template which may be of use. The idea is to clear everything back to default across all browsers by removing padding, margins and setting the fonts up properly.
* { margin:0; padding:0; }
body { font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif; font-size: 100%; }
.access { display: none; }
.clear [...]]]></description>
			<content:encoded><![CDATA[<p>As with the HTML, I have created a CSS template which may be of use. The idea is to clear everything back to default across all browsers by removing padding, margins and setting the fonts up properly.</p>
<pre>* { margin:0; padding:0; }
body { font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif; font-size: 100%; }
.access { display: none; }
.clear { clear: both; }
a { color: #000; }

/** Structure **/
#container { width: 790px; margin: 0 auto; }</pre>
]]></content:encoded>
			<wfw:commentRss>/blog/css-starting-template/2008/09/20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

