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 increase Page Width with the Help of CSS?

    How to apply css and elemental styles to a ASP.net MVC 3 Web Application

    CSS list styling - how to reduce the distance between parent and children of the previous parent?

    how to add active css class to a link in Wordpress

    How can i overlay an 10x10px image on top of another image?

    How to use relative/absolute paths in css URLs?

    How to change text color (and background) on nav bar links when hovering? [duplicate]

    How to add space using css?

    How to make a rounded corner rectangle with a cut corner using css?

    How to prevent the style added to anchors from footer in JQueryMobile?

    How to make JS & CSS inline work for eBay template?

    how can I use the CSS selector to solve this [duplicate]

    How to use a JQuery Show/Hide script, to show hidden text

    Greasemonkey how to apply a CSS rule only for @media print?

    Trying to incorperate a really simple light box. How do I stay centered on scroll?

    How to make html to fill full screen height on webview in android browser

    How to display a long link in multiple lines via CSS?

    How to put a border around the text in a button?

    How can I force an outer div to expand to height of inner div?

    How to reload CSS after ajax call

    Jquery show/hide more data

    How to add CSS Hack specifically for IE10?

    How to navigate from one field to another field using Enter Key function in MVC5

    how do i inject css in gwt?

    How often is the default font size in the browser not 16px?

    How to give effect on dragging in css or through jquery

    How to place divs with background-images in order with 100% width?

    How to reverse the float order of heading & body with CSS?

    CSS how to automatically resize div size?

    How to set a CSS property with a variable in JQuery?