<?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 Using&#160;PHP</title> <atom:link href="http://davidwalsh.name/css-variables-php-dynamic/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/css-variables-php-dynamic</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Thu, 09 Sep 2010 10:38:51 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>By: Russell Bishop</title><link>http://davidwalsh.name/css-variables-php-dynamic/comment-page-1#comment-19100</link> <dc:creator>Russell Bishop</dc:creator> <pubDate>Thu, 29 Jul 2010 11:17:55 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=231#comment-19100</guid> <description>This seems like quite a complex solution for something simple that you were originally looking to achieve; variables in CSS.Surely it would be easier to simply link to a master.php from your document, add in the &#039;header text/css&#039; and then define some variables at the top of your document?Alternatively of course there are now utilities such as SASS that make this idea a little redundant.</description> <content:encoded><![CDATA[<p>This seems like quite a complex solution for something simple that you were originally looking to achieve; variables in CSS.</p><p>Surely it would be easier to simply link to a master.php from your document, add in the &#8216;header text/css&#8217; and then define some variables at the top of your document?</p><p>Alternatively of course there are now utilities such as SASS that make this idea a little redundant.</p> ]]></content:encoded> </item> <item><title>By: Dave Everitt</title><link>http://davidwalsh.name/css-variables-php-dynamic/comment-page-1#comment-14622</link> <dc:creator>Dave Everitt</dc:creator> <pubDate>Fri, 18 Dec 2009 09:11:05 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=231#comment-14622</guid> <description>It no longer makes sense to struggle with this - &lt;a href=&quot;http://sass-lang.com/tutorial.html&quot; rel=&quot;nofollow&quot;&gt;Sass&lt;/a&gt; is there already. Write CSS with variables, functions, etc. (can also take existing CSS files and transform them), compile into static CSS files. Lovely.</description> <content:encoded><![CDATA[<p>It no longer makes sense to struggle with this &#8211; <a
href="http://sass-lang.com/tutorial.html" rel="nofollow">Sass</a> is there already. Write CSS with variables, functions, etc. (can also take existing CSS files and transform them), compile into static CSS files. Lovely.</p> ]]></content:encoded> </item> <item><title>By: Abeon</title><link>http://davidwalsh.name/css-variables-php-dynamic/comment-page-1#comment-14613</link> <dc:creator>Abeon</dc:creator> <pubDate>Fri, 18 Dec 2009 01:39:37 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=231#comment-14613</guid> <description>21 lines of code (minus your comments) is all it took for dynamic css :)Great information, thanks!</description> <content:encoded><![CDATA[<p>21 lines of code (minus your comments) is all it took for dynamic css :)</p><p>Great information, thanks!</p> ]]></content:encoded> </item> <item><title>By: jay bharat</title><link>http://davidwalsh.name/css-variables-php-dynamic/comment-page-1#comment-12636</link> <dc:creator>jay bharat</dc:creator> <pubDate>Wed, 14 Oct 2009 08:56:46 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=231#comment-12636</guid> <description>How can we replace .php file over .css fileVery Simple.STEP1: This is your abc.php page&lt;!----&gt;STEP2: This your zero.php (actually zero.css renamed with zero.php) page#s1{
/*background:transparent url(../images/img_main.jpg) repeat scroll 0 0;*/
background:transparent url(../images/) repeat scroll 0 0;
border-bottom:1px solid #A0A0A0;
float:left;
height:208px;
position:relative;
width:1002px;
}</description> <content:encoded><![CDATA[<p>How can we replace .php file over .css file</p><p>Very Simple.</p><p>STEP1: This is your abc.php page</p><p>&lt;!&#8212;-&gt;</p><p>STEP2: This your zero.php (actually zero.css renamed with zero.php) page</p><p>#s1{<br
/> /*background:transparent url(../images/img_main.jpg) repeat scroll 0 0;*/<br
/> background:transparent url(../images/) repeat scroll 0 0;<br
/> border-bottom:1px solid #A0A0A0;<br
/> float:left;<br
/> height:208px;<br
/> position:relative;<br
/> width:1002px;<br
/> }</p> ]]></content:encoded> </item> <item><title>By: Dave Everitt</title><link>http://davidwalsh.name/css-variables-php-dynamic/comment-page-1#comment-3976</link> <dc:creator>Dave Everitt</dc:creator> <pubDate>Thu, 27 Nov 2008 14:39:14 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=231#comment-3976</guid> <description>Madhu - each CSS file means another HTTP request, which takes time. I found the SSI method really quick, but it would be good to do some proper testing on the various alternatives (anyone?).</description> <content:encoded><![CDATA[<p>Madhu &#8211; each CSS file means another HTTP request, which takes time. I found the SSI method really quick, but it would be good to do some proper testing on the various alternatives (anyone?).</p> ]]></content:encoded> </item> <item><title>By: Madhu</title><link>http://davidwalsh.name/css-variables-php-dynamic/comment-page-1#comment-3974</link> <dc:creator>Madhu</dc:creator> <pubDate>Thu, 27 Nov 2008 13:22:15 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=231#comment-3974</guid> <description>Hi,Instead of using Dynamic css. We  can maintain several css files which is very fast as compared to Dynamic css.What about ur opinion regarding my statement.Regards,
Madhu</description> <content:encoded><![CDATA[<p>Hi,</p><p>Instead of using Dynamic css. We  can maintain several css files which is very fast as compared to Dynamic css.</p><p>What about ur opinion regarding my statement.</p><p>Regards,<br
/> Madhu</p> ]]></content:encoded> </item> <item><title>By: Vicente Benavent</title><link>http://davidwalsh.name/css-variables-php-dynamic/comment-page-1#comment-3589</link> <dc:creator>Vicente Benavent</dc:creator> <pubDate>Mon, 27 Oct 2008 04:46:38 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=231#comment-3589</guid> <description>Thanks a lot really usefull!!!</description> <content:encoded><![CDATA[<p>Thanks a lot really usefull!!!</p> ]]></content:encoded> </item> <item><title>By: Matthew</title><link>http://davidwalsh.name/css-variables-php-dynamic/comment-page-1#comment-3527</link> <dc:creator>Matthew</dc:creator> <pubDate>Wed, 22 Oct 2008 13:16:42 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=231#comment-3527</guid> <description>Great System! Very handy and useful, thanks heapsthank u r informationit very  useful</description> <content:encoded><![CDATA[<p>Great System! Very handy and useful, thanks heaps</p><p>thank u r information</p><p>it very  useful</p> ]]></content:encoded> </item> <item><title>By: Dave Everitt</title><link>http://davidwalsh.name/css-variables-php-dynamic/comment-page-1#comment-2896</link> <dc:creator>Dave Everitt</dc:creator> <pubDate>Mon, 01 Sep 2008 22:30:56 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=231#comment-2896</guid> <description>After a bit if experimentation, I found out you can use Apache&#039;s SSI to do this. See http://ecoconsulting.co.uk/training/css&#095;includes.shtml</description> <content:encoded><![CDATA[<p>After a bit if experimentation, I found out you can use Apache&#8217;s SSI to do this. See <a
href="http://ecoconsulting.co.uk/training/css&#95;includes.shtml" rel="nofollow">http://ecoconsulting.co.uk/training/css&#95;includes.shtml</a></p> ]]></content:encoded> </item> <item><title>By: despistao</title><link>http://davidwalsh.name/css-variables-php-dynamic/comment-page-1#comment-1325</link> <dc:creator>despistao</dc:creator> <pubDate>Sat, 24 May 2008 05:12:04 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=231#comment-1325</guid> <description>only work in internet explorer, in Modzilla does&#039;nt work :(The best chance is the one that has published @Tiago Cruz@. Easy, quickly and for all in the family hehe xDthank you</description> <content:encoded><![CDATA[<p>only work in internet explorer, in Modzilla does&#8217;nt work :(</p><p>The best chance is the one that has published @Tiago Cruz@. Easy, quickly and for all in the family hehe xD</p><p>thank you</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 7/19 queries in 0.018 seconds using disk

Served from: davidwalsh.name @ 2010-09-09 14:13:30 -->