Location: PHPKode > scripts > parseCSS > parsecss/getstyle.php
<?php
include_once("parseCSS.inc");

$oCSS=new CSS();

$oCSS->parseFile("style.css");

$font = $oCSS->css["body"]["font-family"];
$bgcolor = $oCSS->css["body"]["background-color"];
$txtcolor = $oCSS->css["body"]["color"];
print "font=$font&bgcolor=$bgcolor&txtcolor=$txtcolor&busy=NO";
?>
Return current item: parseCSS