An "a" tag contains a blocked element has a different quick menu in IE8+
-
Tuesday, September 20, 2011 6:53 AM
html code
<a href="#">text</a>
Its quick menu seems like this:
while
<a href="#"><b style="display:block">test</b></a>
showes like this:
I'm wondering what causes the different ?
- Moved by Rob Pan Friday, September 23, 2011 6:49 AM (From:Internet Explorer Extension Development)
All Replies
-
Friday, September 23, 2011 6:49 AM
Hi,
According to your description, I will move your thread to the Internet Explorer Web Development forum for better support. Thanks for your understanding.
Best Regards,
Rob
Rob Pan [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
Friday, September 23, 2011 8:36 AMModerator
Hi librajt,
Thanks for your post.
I assume you are running the page in IE9 Standards Mode. It seems that IE9 standard mode treat <a href="#"><b style="display:block">test</b></a> as plain text, so that the context menu looks the same like you right click on black space of the web page or plain text.
I would like to recommend you try <b style="display:block"><a href="#">test</a></b>, it works on my side.
Hope this helps, thanks.
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework- Edited by Yanping WangMicrosoft Contingent Staff, Moderator Friday, September 23, 2011 8:38 AM
- Marked As Answer by Yanping WangMicrosoft Contingent Staff, Moderator Tuesday, September 27, 2011 7:08 AM
-
Wednesday, October 12, 2011 6:06 AM
Thanks very much.
Maybe I should change the code..
BTW, is there any technical document about IE feature ?
-
Wednesday, October 12, 2011 6:25 AMModerator
Hi librajt,
Thanks for your reply.
The Internet Explorer 9 Guide for Developers provides a look at the features and improvements in Internet Explorer 9. please refer:
http://msdn.microsoft.com/en-us/ie/ff468705
Thanks.
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework


