Using div background image as link using jQuery
<p>I have put a logo as the background image in a div</p>

<pre><code>&lt;div id="logo" style="background-image:url(images/logo.jpg); position:absolute; top:20px; left:18%; width:275px; height:100px; cursor:pointer;"&gt;&lt;/div&gt;
</code></pre>

<p>I want to use this as div as a link using jquery</p>

<p>//jQuery code</p>

<pre><code>$('#logo').bind('click',function() {
window.location = "index.php"
});
</code></pre>

<p>Neither does the <code>cursor:pointer</code> show up nor does the link work, any ideas.</p>

<p>Thanks
Jean</p>
