tektipsismyfavorite
Technical User
I want to put the year in the background of a table cell using either a dynamic gif or CSS. I've seen it done before but not sure how to do it.
I tried:
style="background:url(year_bg.php?year=<?php echo $theyear; ?>); background-position:center; background-repeat:no-repeat;"
and year_bg.php =
<span style="color:#CCCCCC; font-size:48px; font-family:Georgia, 'Times New Roman', Times, serif;"><?php echo $_GET['year']; ?></span>
but that's not working...
I tried:
style="background:url(year_bg.php?year=<?php echo $theyear; ?>); background-position:center; background-repeat:no-repeat;"
and year_bg.php =
<span style="color:#CCCCCC; font-size:48px; font-family:Georgia, 'Times New Roman', Times, serif;"><?php echo $_GET['year']; ?></span>
but that's not working...