<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91">
	<channel>
		<language>en_GB</language>
		<title>Articles Tagged with &quot;Css-compile&quot;</title>
		<link>http://tobyinkster.co.uk/tag/css-compile/</link>
		<description></description>
		<item>
			<title>22/01/2008: CSS to HTML Compiler</title>
			<link>http://tobyinkster.co.uk/blog/2008/01/22/css-compile/</link>
			<description>&lt;p&gt;I&amp;#8217;ve searched around the &amp;#8216;Net for something like this before, but without success, so decided to write my own. The basic idea is this: there are certain circumstances in which you need to write some styled &lt;acronym title=&quot;Hypertext Markup Language&quot;&gt;HTML&lt;/acronym&gt; without access to the document&amp;#8217;s header. For example, when composing &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt;-formatted e-mails, which may be displayed in a web-based e-mail client; when adding content to limited content-management system; or in an &lt;a href=&quot;http://www.ebay.co.uk&quot;&gt;eBay&lt;/a&gt; auction description. In such a situation, you can&amp;#8217;t (validly) include a &lt;code class=&quot;html&quot;&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot;&amp;gt;&lt;/code&gt; element, nor a &lt;code class=&quot;html&quot;&gt;&lt;style&gt;...&lt;/style&gt;&lt;/code&gt; block (if you &lt;strong&gt;do&lt;/strong&gt; include such a construct it may just about work, but the document will not be valid), so instead you are reduced to using &lt;span class=&quot;caps&quot;&gt;HTML &lt;/span&gt;&lt;code class=&quot;html&quot;&gt;style&lt;/code&gt; attributes all over the place.&lt;/p&gt;

&lt;p&gt;However, it is slow work using &lt;code class=&quot;html&quot;&gt;style&lt;/code&gt; attributes as you can&amp;#8217;t take advantage of &lt;acronym title=&quot;Cascading Style Sheet&quot;&gt;CSS&lt;/acronym&gt; selectors. Instead&amp;#8230;&lt;/p&gt;</description>
		</item>
	</channel>
</rss>
