This is the html asp.net generated (with some client-identifying details removed)
In Windows XP / IE 7 clicking on the image does nothing. Click on the text executes th
Because of your floats, the anchor collapses. Also, you can't put block level elements inside inline elements
.
Keeping with the non-W3C code you've got there, you'd need to clear your floats with this code right before the closing
You'll want to probably create a class called .clear
and move the styles to that. Here's an example from my site:
.clear-fix {
clear: both !important;
display: block !important;
font-size: 0 !important;
line-height: 0 !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
list-style: none !important;
}
A better way to do your code which is W3C compliant is the following: