<?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>Daniel Skinner: News and Articles on Web Development &#187; css</title>
	<atom:link href="http://www.daniel-skinner.co.uk/tag/css/feed" rel="self" type="application/rss+xml" />
	<link>http://www.daniel-skinner.co.uk</link>
	<description>Daniel Skinner&#039;s Blog: Web Development news and articles</description>
	<lastBuildDate>Wed, 18 Mar 2009 15:11:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>External CSS won&#8217;t load in IE7</title>
		<link>http://www.daniel-skinner.co.uk/external-css-wont-load-in-ie7/05/04/2008</link>
		<comments>http://www.daniel-skinner.co.uk/external-css-wont-load-in-ie7/05/04/2008#comments</comments>
		<pubDate>Sat, 05 Apr 2008 02:04:29 +0000</pubDate>
		<dc:creator>Daniel Skinner</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[charset]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://www.daniel-skinner.co.uk/external-css-wont-load-in-ie7/05/04/2008</guid>
		<description><![CDATA[I just spent a while wondering why IE7 wouldn&#8217;t make use of an external stylesheet when it worked in Firefox no problems.
The page is in UTF-8 and the .css file was also encoded in UTF-8 but IE7 simply refused to render the page using the CSS rules.
I have no idea  what the problem is but [...]]]></description>
			<content:encoded><![CDATA[<p>I just spent a while wondering why IE7 wouldn&#8217;t make use of an external stylesheet when it worked in Firefox no problems.</p>
<p>The page is in UTF-8 and the .css file was also encoded in UTF-8 but IE7 simply refused to render the page using the CSS rules.</p>
<p>I have no idea  what the problem is but if you are having similar issues try putting <strong>@charset “UTF-8″;</strong> at the top of your external stylesheet &#8211; it worked for me.</p>
<p>Does anyone know what the underlying issue is?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daniel-skinner.co.uk/external-css-wont-load-in-ie7/05/04/2008/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Improving Site Performance</title>
		<link>http://www.daniel-skinner.co.uk/improving-site-performance/11/09/2007</link>
		<comments>http://www.daniel-skinner.co.uk/improving-site-performance/11/09/2007#comments</comments>
		<pubDate>Tue, 11 Sep 2007 17:26:40 +0000</pubDate>
		<dc:creator>Daniel Skinner</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[performane]]></category>
		<category><![CDATA[YSlow]]></category>

		<guid isPermaLink="false">http://destiny.xeaura-host.co.uk/blog/improving-site-performance /03 /11/2007</guid>
		<description><![CDATA[This article focuses on a very handy, cool, simple PHP script that can drastically improve the performance of your site without much effort at all!]]></description>
			<content:encoded><![CDATA[<p>In the previous article regarding <a href="http://www.daniel-skinner.co.uk/development-tools/17/08/2007" title="News Article: Web Development Tools">web development tools</a> I briefly mentioned the <a rel="external" href="http://developer.yahoo.com/yslow/" title="YSlow performance analysis">YSlow</a> tool for <a rel="external" href="http://www.getfirebug.com/" title="FireBug Development platform for FireFox">FireBug</a>. YSlow analyses the performance of web pages in terms of their size and overall load time. When you run YSlow on your page you get an overall grade from A to F which is dependent upon how the page performs. The performance is measured by 13 factors, which are individually graded.</p>
<h3>Performance Optimisation</h3>
<p>Whilst the 13 factors are well explained, there is no real information on how to improve the page. All you know is how well your site performs in that area aswell as getting a good description of why it is important. The lack of solutions and methods of improvement turns out to be a good thing since it drives further research into how to improve page performance.</p>
<p>This article focuses on a very handy, cool, simple PHP script that can drastically improve the performance of your site without much effort at all!</p>
<h3>Combine</h3>
<p>The script is called <a rel="external" href="http://rakaz.nl/extra/code/combine" title="Combine Performance Optimisation Script">Combine</a> and is written by <a rel="external" href="http://rakaz.nl/" title="Niels Leenheer's blog">Niels Leenheer</a></p>
<p>Basically, the script has two main aims: reducing the number of HTTP requests made per page, and reducing the size of JavaCcript and CSS files to improve page load times. The script is highly effective and is easily integrated into any existing site. The performance improvement is pretty impressive, it improved my YSlow grade drastically.</p>
<p>Combine does a number of things and is very well focused in its purpose. Here is a quick overview:</p>
<ul>
<li>Allows you to make requests for several CSS and JavaScript files with far fewer HTTP requests.</li>
<li>Combines and compresses individual CSS/JavaScript files into one compact file.</li>
<li>Utilises advanced caching and header techniques to cover every aspect when it comes to improving page loading times.</li>
<li>Works in a way that is non-invasive &#8211; you won&#8217;t need to do anything drastic to incorporate it into your existing system.</li>
</ul>
<p>The integration of Combine into a new or existing site is easy and you will be reaping the rewards in terms of performance improvements in no time.</p>
<h3>Example:</h3>
<p><em>without Combine the includes for my <a href="http://www.destiny-denied.co.uk/gallery/" title="Daniel Skinner's Image Gallery">gallery page</a> would look something like:</em></p>
<pre>
&lt;!-- include external CSS files --&gt;
&lt;link rel="stylesheet" type="text/css" href="/styles/layout.css" /&gt;
&lt;link rel="stylesheet" type="text/css" href="/styles/styles.css" /&gt;
&lt;link rel="stylesheet" type="text/css" href="/styles/navigation.css" /&gt;
&lt;link rel="stylesheet" type="text/css" href="/styles/banners.css" /&gt;
&lt;link rel="stylesheet" type="text/css" href="/styles/features.css" /&gt;   

&lt;link rel="stylesheet" type="text/css" href="/styles/print.css"  /&gt;
&lt;link rel="stylesheet" type="text/css" href="/styles/geshi.css" /&gt;
&lt;!-- include JavaScript required for gallery --&gt;
&lt;script type="text/javascript" src="/script/lib/effects.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="/script/lib/builder.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="/script/imgRoll/roller.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="/script/imgView/viewer.js"&gt;&lt;/script&gt;</pre>
<p><em>With Combine this becomes:</em></p>
<pre>
&lt;!-- include external CSS files--&gt;
&lt;link rel="stylesheet" type="text/css" href="/styles/layout.css,styles.css,navigation.css,banners.css,
                       features.css,print.css,geshi.css" /&gt;
&lt;!-- include JavaScript required for gallery --&gt;
&lt;script type="text/javascript"
src="/script/lib/effects.js,lib/builder.js,imgRoll/roller.js,imgView/viewer.js"&gt;&lt;/script&gt;</pre>
<p>As you can see in the Combine version, the files you wish to include are just separated by commas. This reduces the amount of markup, the number of HTTP requests made and the size of the HTTP requests (since Combine compresses files using GZip). Combine will cache the combined files so that server side processing time is also reduced on subsequent requests. Combine allows you to keep your files well structured without having to worry about making too many HTTP requests!</p>
<h3>Conclusion</h3>
<p>Overall, Combine provides a huge performance improvement for most pages whilst being easy to integrate into existing systems. The purpose of Combine is well defined and it doesn&#8217;t try to do more than is needed.</p>
<p>For detailed information see the <a rel="external" href="http://rakaz.nl/extra/code/combine" title="Combine Usage">Combine page</a> on <a rel="external" href="http://rakaz.nl/" title="Niels Leenheer's blog">Rakaz</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.daniel-skinner.co.uk/improving-site-performance/11/09/2007/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
