<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: CSS Variables</title>
	<atom:link href="http://www.dave-woods.co.uk/index.php/css-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dave-woods.co.uk/index.php/css-variables/</link>
	<description></description>
	<lastBuildDate>Sat, 28 Jan 2012 15:57:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: Tarn</title>
		<link>http://www.dave-woods.co.uk/index.php/css-variables/comment-page-1/#comment-28953</link>
		<dc:creator>Tarn</dc:creator>
		<pubDate>Mon, 12 Sep 2011 06:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/index.php/css-variables/#comment-28953</guid>
		<description>The simplest way to show that CSS needs some form of variables is to take a medium complex, fixed 3 column layout of some guru, and ask some other guru to increase the column width of the middle column. Then stand back and watch the fun. 

Some people think that littering a CSS file with numeric constants is somehow &#039;pure&#039;, while using expressions would be &#039;bad&#039;. Such people should demonstrate how, without variables or expressions, this philosophy can be used to make and maintain any significant program - perhaps a CSS parser ;)</description>
		<content:encoded><![CDATA[<p>The simplest way to show that CSS needs some form of variables is to take a medium complex, fixed 3 column layout of some guru, and ask some other guru to increase the column width of the middle column. Then stand back and watch the fun. </p>
<p>Some people think that littering a CSS file with numeric constants is somehow &#8216;pure&#8217;, while using expressions would be &#8216;bad&#8217;. Such people should demonstrate how, without variables or expressions, this philosophy can be used to make and maintain any significant program &#8211; perhaps a CSS parser <img src='http://www.dave-woods.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.dave-woods.co.uk/index.php/css-variables/comment-page-1/#comment-28941</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 30 Jun 2011 20:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/index.php/css-variables/#comment-28941</guid>
		<description>For simple variable colors creating variables for css is not necessary. If you need this simply right your css code in php and include it into header as a style tag. You&#039;ll achieve the same.  Albeit, I can&#039;t count how many times I wish I could dynamically have a variable with the screen width to make things go faster.  As for people saying this would have a ton of overhead. I really don&#039;t think so. After all, so much is already calculated on the fly as it is. If you think about it width:100% is already technically referencing a variable. I believe css itself as itself has more complexity than a coding language.  I would rather draw a website in Java then html+css it.

Give it a while, and eventually flash will start to encompass entire sites page spaces rather than just the limited content they deal with now. Why? its easier to get what you want on the page with limited overhead.</description>
		<content:encoded><![CDATA[<p>For simple variable colors creating variables for css is not necessary. If you need this simply right your css code in php and include it into header as a style tag. You&#8217;ll achieve the same.  Albeit, I can&#8217;t count how many times I wish I could dynamically have a variable with the screen width to make things go faster.  As for people saying this would have a ton of overhead. I really don&#8217;t think so. After all, so much is already calculated on the fly as it is. If you think about it width:100% is already technically referencing a variable. I believe css itself as itself has more complexity than a coding language.  I would rather draw a website in Java then html+css it.</p>
<p>Give it a while, and eventually flash will start to encompass entire sites page spaces rather than just the limited content they deal with now. Why? its easier to get what you want on the page with limited overhead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Voynex.com</title>
		<link>http://www.dave-woods.co.uk/index.php/css-variables/comment-page-1/#comment-28851</link>
		<dc:creator>Voynex.com</dc:creator>
		<pubDate>Tue, 29 Mar 2011 00:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/index.php/css-variables/#comment-28851</guid>
		<description>As for me it is better to call those macros then variables and I would suggest more scalable solution - add the inheritance of the CSS classes.</description>
		<content:encoded><![CDATA[<p>As for me it is better to call those macros then variables and I would suggest more scalable solution &#8211; add the inheritance of the CSS classes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rolfen</title>
		<link>http://www.dave-woods.co.uk/index.php/css-variables/comment-page-1/#comment-28479</link>
		<dc:creator>rolfen</dc:creator>
		<pubDate>Fri, 23 Apr 2010 12:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/index.php/css-variables/#comment-28479</guid>
		<description>The current alternative is including PHP code into you css, or doing extensive replace every time you want to change a common color.
CSS was originally take away style from HTML and centralise it in a single place. Variables only take this further.
Performance has never been the primary concern in web technologies, whether it is a good thing or now, I dont know.</description>
		<content:encoded><![CDATA[<p>The current alternative is including PHP code into you css, or doing extensive replace every time you want to change a common color.<br />
CSS was originally take away style from HTML and centralise it in a single place. Variables only take this further.<br />
Performance has never been the primary concern in web technologies, whether it is a good thing or now, I dont know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sitin</title>
		<link>http://www.dave-woods.co.uk/index.php/css-variables/comment-page-1/#comment-28069</link>
		<dc:creator>Sitin</dc:creator>
		<pubDate>Fri, 27 Nov 2009 12:31:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/index.php/css-variables/#comment-28069</guid>
		<description>The only advantage of CSS variables is to use their definitions in separate files. In this case we can divide &quot;static&quot; and &quot;dinamic&quot; parts of the style. It saves some server-side time avoiding css parsing for simle task. And if it is not (the variable scope is only curent file) I agree with Jason that styles must be simple to implement on the client side and css is not a programming language.</description>
		<content:encoded><![CDATA[<p>The only advantage of CSS variables is to use their definitions in separate files. In this case we can divide &#8220;static&#8221; and &#8220;dinamic&#8221; parts of the style. It saves some server-side time avoiding css parsing for simle task. And if it is not (the variable scope is only curent file) I agree with Jason that styles must be simple to implement on the client side and css is not a programming language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.dave-woods.co.uk/index.php/css-variables/comment-page-1/#comment-26264</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 08 Sep 2009 12:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/index.php/css-variables/#comment-26264</guid>
		<description>Hi Prakash. It&#039;s not available to use yet but is proposed for CSS3 so hopefulyl we&#039;ll see it at some point in the future.</description>
		<content:encoded><![CDATA[<p>Hi Prakash. It&#8217;s not available to use yet but is proposed for CSS3 so hopefulyl we&#8217;ll see it at some point in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prakash</title>
		<link>http://www.dave-woods.co.uk/index.php/css-variables/comment-page-1/#comment-26254</link>
		<dc:creator>Prakash</dc:creator>
		<pubDate>Tue, 08 Sep 2009 07:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/index.php/css-variables/#comment-26254</guid>
		<description>Hi, I used this variable substitution and checked but no result. am using ie6 and firefox 3. anything i have to include for this to work?</description>
		<content:encoded><![CDATA[<p>Hi, I used this variable substitution and checked but no result. am using ie6 and firefox 3. anything i have to include for this to work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Гамлет</title>
		<link>http://www.dave-woods.co.uk/index.php/css-variables/comment-page-1/#comment-21607</link>
		<dc:creator>Гамлет</dc:creator>
		<pubDate>Wed, 08 Apr 2009 16:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/index.php/css-variables/#comment-21607</guid>
		<description>Интересно. Вообще чтение вашего блога это не просто глупое просматривание новостей или чтениебреда про то, чем человек сегодня занимался, а нахождение реально занимательной информации.</description>
		<content:encoded><![CDATA[<p>Интересно. Вообще чтение вашего блога это не просто глупое просматривание новостей или чтениебреда про то, чем человек сегодня занимался, а нахождение реально занимательной информации.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerrit</title>
		<link>http://www.dave-woods.co.uk/index.php/css-variables/comment-page-1/#comment-20415</link>
		<dc:creator>Gerrit</dc:creator>
		<pubDate>Sun, 08 Mar 2009 10:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/index.php/css-variables/#comment-20415</guid>
		<description>Another interesting issue is to use PHP-Script for your CSS files. You can put in as many vars as you like and even change the look of your site depending on almost everything ;-)

just make a php-file and change headers to css

header(&quot;Content-type: text/css&quot;); 

this is really thrilling! 

regards,
gerrit</description>
		<content:encoded><![CDATA[<p>Another interesting issue is to use PHP-Script for your CSS files. You can put in as many vars as you like and even change the look of your site depending on almost everything <img src='http://www.dave-woods.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>just make a php-file and change headers to css</p>
<p>header(&#8220;Content-type: text/css&#8221;); </p>
<p>this is really thrilling! </p>
<p>regards,<br />
gerrit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaScript in CSS, Ugly But Intresting &#124; dtsn</title>
		<link>http://www.dave-woods.co.uk/index.php/css-variables/comment-page-1/#comment-20199</link>
		<dc:creator>JavaScript in CSS, Ugly But Intresting &#124; dtsn</dc:creator>
		<pubDate>Wed, 04 Mar 2009 10:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.dave-woods.co.uk/index.php/css-variables/#comment-20199</guid>
		<description>[...] Expression suddenly came to me as a solution for the currently much debated feature (here and here) of variables in CSS3. This could theoretically be currently achieved through the use of [...]</description>
		<content:encoded><![CDATA[<p>[...] Expression suddenly came to me as a solution for the currently much debated feature (here and here) of variables in CSS3. This could theoretically be currently achieved through the use of [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

