I have an HTML structure like this
<a href="/abcd">
<img src="aa.gif">
<label>click me</label>
<img src="bb.gif">
</a>
There is a reason to do it like that. I want to whole group clickable and go to /abcd
However it works in Firefox but not in Internet Explorer. In IE, if I click on the area where the <label> is, it does not work. The img tag is fine. Can you help? Thanks
Label tag not clickable if a child of hyperlink
Moderator: General Moderators
Re: Label tag not clickable if a child of hyperlink
Try setting for <a>
Please provide CSS if that doesn't work.
Code: Select all
display: inline-block;Please provide CSS if that doesn't work.