box-o-sand/docroot/html/_head.php
2010-12-31 13:14:13 -05:00

40 lines
630 B
PHP

<?php
function mkheader($title, $bgcolor) {
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $title; ?></title>
<style type='text/css'>
/*<![CDATA[*/
body {
color: #222;
background-color: #eee;
font-family: monospace;
}
pre {
border: 1px dashed #777;
color: #000;
background-color: <?php echo $bgcolor ?>;
padding: 5px;
margin: 10px;
}
.block {
display: block;
}
/*]]>*/
</style>
</head>
<?php
}
?>