We help IT Professionals succeed at work.
Get Started

How can I hyperlink my DIV ?  (neither href and onclick are working)

egoselfaxis
egoselfaxis asked
on
398 Views
Last Modified: 2012-05-12
For some reason, I don't seem to be able to hyperlink the banner image that I have in my righthand column (which is a DIV with text in it -- NOT an image):

http://www.testmdg.com.php5-21.websitetestlink.com/portfolio/arts-entertainment/

The DIV that I'm trying to link / make clickable is called "#banner_image"

I've tried using regular HREF tags as well as onclick="location.href=" ... but it seems that no matter what I try, .. I can't make the DIV clickable.  Why?  How can I achieve this?

Thanks,
- Yvan



Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE