bettes midler

a real life website by Jonny Nail
Life. (and sometimes code)

dynamic CSS background images

Include the 'fake' CSS file...

<link type="text/css" href="css/style.php">

Build the 'fake' CSS file...

HTML GO!

<h2 class="something"><span>Something</span></h2>

BOOM!

headers/something.png will be set as the header's background image.

June 2, 2010 [17:26]

Comment

Go Home