Forum Moderators: coopster
<?php
header("Content-type: text/css; charset=UTF-8");
$color = 'blue';
?>
/* Master */
body {font-family: Georgia; padding: 0; margin: 0}
#content {width: 960px; margin: 0 auto; min-height:100%; margin-bottom:-96px; position: relative}
#clearfooter {height: 96px; clear: both}
#footer {width: 100%; min-width: 960px; height: 80px; padding-top: 16px; text-align: center; position: relative}
html, body {height:100%;}
/* Master */
/* Header */
h2 {margin: 0; padding: 0; font-size: 1.5em; color: <?php echo $color; ?>}
/* Header */
<?php
header("Content-type: text/css; charset=UTF-8");
$color = 'blue';
?>
/* Master */
body {font-family: Georgia; padding: 0; margin: 0}
#content {width: 960px; margin: 0 auto; min-height:100%; margin-bottom:-96px; position: relative}
#clearfooter {height: 96px; clear: both}
#footer {width: 100%; min-width: 960px; height: 80px; padding-top: 16px; text-align: center; position: relative}
html, body {height:100%;}
/* Master */
/* Header */
h2 {margin: 0; padding: 0; font-size: 1.5em; color: <?php echo $color; ?>}
/* Header */
<link href="css.php" rel="stylesheet" type="text/css">
<h2>testing, should be blue</h2>
Warning: Cannot modify header information - headers already sent by (output started at /home/devseven/public_html/testland/css/styles.php:1) in /home/devseven/public_html/testland/css/styles.php on line 2
/* Master */ body {font-family: Georgia; padding: 0; margin: 0} #content {width: 960px; margin: 0 auto; min-height:100%; margin-bottom:-96px; position: relative} #clearfooter {height: 96px; clear: both} #footer {width: 100%; min-width: 960px; height: 80px; padding-top: 16px; text-align: center; position: relative} html, body {height:100%;} /* Master */ /* Header */ h2 {margin: 0; padding: 0; font-size: 2em; color: blue} /* Header */