Web Form Design Time and Run Time mismatch when you use Relative FontSize (316759)
The information in this article applies to:
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
This article was previously published under Q316759 SYMPTOMS
When you use Relative FontSize in a Web Form, and then view the Web Form in Microsoft Internet Explorer, the font size may appear different from the font size that you selected in Web Form Designer. Typically, the font size that appears in Web Form Designer is larger than the font size that appears in Internet Explorer. This behavior may cause display problems.
CAUSE
This behavior occurs because Web Form Designer sizes fonts differently from Internet Explorer.
RESOLUTION
This behavior occurs only when you use Relative FontSize; absolute font size is not affected. To avoid this behavior, use absolute font size settings, such as FONT-SIZE:12pt, instead of relative settings, such as FONT-SIZE:0.8em.
STATUSThis behavior is by design.REFERENCESFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 4/21/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbprb KB316759 kbAudDeveloper |
---|
|