why not bust one of these:
<div class="image-with-default" style="background-image: url(image.jpg)">
then in your CSS just add an image there as the default with the image-with-default class
edit: no that wont work, i guess the first one would be overwritten, why not check if namevar exists and if it doesnt dont put in that line with the style stuff at all
|