I have a div block that I want to be a link to somewhere. I don’t think I can just wrap it in an anchor tag because I don’t think you’re supposed to wrap an inline element around a block element.
Currently I just use javascript and it works fine except that the status bar doesn’t show the destination URL when they hover over the div.
Try replacing your div with an anchor, and making the anchor a
blocklevel element.Live Demo
HTML
CSS