Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 929508 - Last Review: January 3, 2007 - Revision: 1.4
Images are cropped when you view the ASP.NET Menu control in Internet Explorer 6
After you add the ASP.NET Menu control to a Web page, images that are on the Web page may be cropped at the bottom. This behavior occurs when you view the Web page in Microsoft Internet Explorer 6, and then you move the pointer over the ASP.NET Menu control.
This behavior occurs because of an Internet Explorer 6 HTML rendering issue.
To resolve this issue, force the size of the Web page body to equal size of the cropped image.
For example, use the following tag in the Web page source HTML to force the Web page size:
<body style="height:500px;">
Note In the previous tag, replace "500px" with the size requirement of the images that are on the Web page.
When the JavaScript that is required for the
asp:menu command runs, Internet Explorer 6 redraws the Web page. When this behavior occurs, Internet Explorer 6 incorrectly calculates the Web page length.
The Web page length is calculated by using the size of the text elements that are on the Web page. Also, the Web page length does not include the image elements. Therefore, image elements that either extend under or are completely under the lowest piece of text are cropped. Or you cannot see the image elements on that Web page.
For more information about the ASP.NET Menu control, visit the following Microsoft Web site:
APPLIES TO
- Microsoft Internet Explorer 6.0
| kbexpertiseadvanced kbtshoot kbprb KB929508 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate