Someone needs to ban the use of IE from the internet, but until that happens, perhaps someone could help me with a workaround for this little issue.
When working in IE in the RadEditor, all H1, H2, body text is larger in RadEditor than displayed on the page. This is confusing to my clients as the font size differs from when they input in the Editor and when it displays on the page. This problem does not exist in Firefox, everything seems to work fine there.
Here is some test code.
You will see when you run this under IE, that the size displayed within the Editor is larger that what is displayed on the page.
Anyone know how to solve this?
Thanks
Clyde
When working in IE in the RadEditor, all H1, H2, body text is larger in RadEditor than displayed on the page. This is confusing to my clients as the font size differs from when they input in the Editor and when it displays on the page. This problem does not exist in Firefox, everything seems to work fine there.
Here is some test code.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CSSTest.aspx.cs" Inherits="test_CSSTest" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title>Untitled Page</title> |
<style type="text/css"> |
.h1 |
{ |
color: #FFFFFF; |
font-family: Arial; |
background-color: #FF9900; |
font-size: large; |
font-weight: bold; |
} |
h1 |
{ |
color: #FFFFFF; |
font-family: Arial; |
background-color: #FF9900; |
font-size: large; |
font-weight: bold; |
} |
body |
{ |
font-size:medium; |
} |
</style> |
</head> |
<body> |
<form id="form1" runat="server"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" |
OutputCompression="AutoDetect"> |
</telerik:RadScriptManager> |
<div> |
<h1>This is a header test</h1> |
<br /> |
<div class = "h1">This is a header test</div> |
<br /> |
This is just body text |
<telerik:RadEditor ID="RadEditor1" runat="server" Skin="Default" |
ToolProviderID="" ToolsWidth=""> |
<Content> |
<div> |
<h1>This is a header test</h1> |
<br /> |
<div class = "h1">This is a header test</div> |
<br /> |
This is just body text |
</div> |
</Content> |
</telerik:RadEditor> |
</div> |
</form> |
</body> |
</html> |
You will see when you run this under IE, that the size displayed within the Editor is larger that what is displayed on the page.
Anyone know how to solve this?
Thanks
Clyde