The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Understanding Writing Better HTML & CSS Re: Understanding Writing Better HTML & CSS

Chris Coyier

AutoVersion is essentially a PHP function that takes the file path of that CSS file as a parameter. It does the four things listed on one of those following slides.

So instead of Smarty, it could be…

Or any other server side language.

The .htaccess ensures that CSS files that are loaded *directly* are parsed by PHP (they wouldn’t be normally) so the AutoVersioning works on them as well.