View Single Post
07-12-2008, 12:16 AM
#6
Gurnk is offline Gurnk
Status: Member
Join date: May 2007
Location: US
Expertise:
Software:
 
Posts: 380
iTrader: 12 / 100%
 

Gurnk is on a distinguished road

Send a message via AIM to Gurnk Send a message via MSN to Gurnk

  Old

Just don't put it as a background image. Keep the div, and put the image in that, in the HTML (which needs to now be in a .php file).

Code:
<div id="banner">
      <img src="images/rand/<?php echo rand(0,2); ?>.jpg" alt="Banner" />
</div>