Since the only images css can insert are background, and since the background cannot gain focus, the answer is no. Make the image a part of the foreground, then there is no problem. eg. <p> <a href="#"><img src="some.png" alt="alternative text"></a> </p> Code (markup): cheers, gary
Yes, it is inserted as a background image. It is not feasible for me to put the image in foreground. I have a large website and all the pages have this image. So if I change it to foreground, I'll have to change all the pages in my website. Isn't there any other way out?
If you're going to make all those links anyway, what's the difference? It is what it is. cheers, gary
Actually, I think it can be done: http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=223 Click the "Read Full Tutorial" and then skip to the CSS. In the future, you should use PHP templates or even Dreamweaver templates.
You cannot link from an image from CSS because CSS use background images, just add the <a> link inside your XHTML