How to hyperlink a css box [closed]


Tags: html,css

Problem :

What I want is, a css box which is hyperlinked, so that if anyone clicks on that box s/he will go to that specified link!

tinkerbin.com/EdnLpZl3 is what I am talking about! I want each box goto a separate link



Solution :

Maybe try:

<div onclick="location.href='http://myurl.com';" >(Whatever you want in here*</div>

...as long as you don't mind a little JS...


    CSS Howto..

    How to completely gray out an image with css?

    How can I get an absolute element to float right within its parent?

    How can the common text message format be replicated purely with CSS?

    How to apply css for min-width and print?

    CSS page headers - how to use print margins?

    How to write Safari(5) specific CSS?

    How to hide first level span element by CSS “>” selector

    How to connect css to html in Google Apps Scripts

    How can I get --webkit-tap-highlight-color to highlight an entire DIV?

    How do I give a WordPress Custom Menu item an id or class for CSS targeting?

    How to Stop Down Arrow on Scroll Bar from going off screen on page resize with CSS

    How to center align a div vertically which uses bootstrap?

    Responsive portrait images, Hows & Dont's?

    How to fit two divs side by side horizontally?

    How to create a tag using css

    How to have background-image and gradient background-color work on one selector in CSS?

    How to stack an overlay over html5 video

    How to set a css style to the last item of CListView?

    how to use CSS clip-path in IE? [closed]

    How to modify twitter widget in css

    How to place a responsive background according to content height with HTML / CSS?

    How to conditionally resize image if screen not wide enough, with CSS?

    How to style the

    How to using CSS to set content of column to top not center in JSF, primefaces?

    How can I turn a background visibility on and off with jQuery?

    How to use jQuery's .css() with variable property name?

    Google font - how to specific font-family If they have the same name?

    how to get a CSSStyleSheet object from a