PDA

View Full Version : Can you make a background-image a link?



toothpick
April 21st, 2004, 01:41 AM
Just working on a site, I have one div on another div and I want to make the top one (the logo) link to the homepage. I'm doing the div with the logo as a background-image and just some &nbsp's (had to remove the ; so it would show up here to get it to show up. :drool: )

Is there any way that I can make the background-image a link? I tried just putting the &nbsp's in a <a></a> set of tags, but that didn't really work.

APDesign
April 21st, 2004, 02:06 AM
you could make a quick javascript pop-up script and use


<div onclick="popup('./blahblah.html')">&nbsp ;</div>