View Full Version : A CSS how to...help please.
02-24-2007, 11:52 PM
On my site, I have added a logo of sorts to the top right corner of my page using background-image: etc. in css. I would like to make that image clickable, is that possible and if so how? I have googled for awhile and some sites point to using java to make it clickable, i really don't want to do that as I am aiming to keep things simple and highly web friendly. Any thoughts? Oh, and btw, my site is www.pixperiment.com :-)
02-25-2007, 09:15 AM
you mean the top left corner, don't you?
You cannot make a background image clickable.
Create a <div> as the first element after <body>, give it an absolute position (top:0px, left:0px) and put the image inside (not as background, just normal html image). This image you can make a link with html.
02-25-2007, 08:59 PM
Yes, I did mean left :-) and thanks for the how-to!
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.