image - Img in floating container not clickable in Explorer -


i have anchor element in div "imgbox" containing image , caption, , div "textbox" containing text.

now when float div.imgbox, img element inside no longer clickable; caption , text in div.textbox is. happens in internet explorer; other browsers work fine.

does know what's causing (and how solve it)? thanks!

here's css , html i'm using:

<style>     .wrap {         display: block;         overflow: hidden;/* makes wrap around floats */         cursor: pointer;     }     .imgbox {         float: left;     }     .textbox {         overflow: hidden;/* positions div next float */     } </style>  <div class="wrap">     <a href="#">         <div class="imgbox">             <img src="http://jaron.nl/misc/dummy.gif" width="80" height="45" alt="" />             caption text clickable         </div>         <div class="textbox">             text here         </div>     </a> </div> 

you using block element in div in between img , link tag .


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -