Making a Box Created With a Div a Clickable Link

They have: 3 posts

Joined: Feb 2013

Hello

I have a div which creates a box with call to action text on my page.

The code for the div box is :

Drunk Driving - DUI Arrest

Confidential DUI CONSULTATION

* Click Here to Schedule a DUI Case Review With a Local Attorney. * It's 100% Confidential, Free and Carries No Risk. Don't Delay, Your License and Freedom Could be at Risk

which creates the blue box on:
http://www.byedui.com/dui-lawyers/alabama/

I would like to make the entire box the div creates to be a clickable link. I don't want to use javascript. Could anyone please point me in the right direction for making the div box linkable??

Thanks a lot in advance!

Nullified's picture

They have: 12 posts

Joined: Sep 2012

<a style="display: block; width: 200px; height: 100px">Your Link Here</a>

They have: 46 posts

Joined: Feb 2013

Try to put a link on your declaration of that div. If you could show me your code, it would be easier to help you.

They have: 11 posts

Joined: Apr 2013

use a href with span and make the span to cover the div with css

They have: 4 posts

Joined: Jul 2013

Hi you can try this code..for use the div a click able link.
Your Link Here

Emailchopper

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.