/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php function compress($buffer) { /* remove comments */ /* remove tabs, spaces, newlines, etc. */ ", "\r", "\n", "\t", ' ', ' ', ' '), '', $buffer); return $buffer; } /* your css files */ include('master.css'); include('typography.css'); include('grid.css'); include('print.css'); include('handheld.css'); ?>
URL: http://www.catswhocode.com/blog/3-ways-to-compress-css-files-using-php
Comments
