This is a migrated thread and some comments may be shown as answers.

Skin problem..

1 Answer 63 Views
Editor
This is a migrated thread and some comments may be shown as answers.
R
Top achievements
Rank 1
R asked on 17 Jul 2008, 04:44 AM
I am using trial version of Rad Editor

and using the following doctype for all pages

<!

DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"



Rad Editor is displayed correctly with firefox ... But it displayed with some bad design in IE7.
what can i do for make it working in IE too?
Skins i hav tested are

gud
-----
WebBlue
Web20
Default
Mac
Telerik
Vista
Hay
Sunset
Default2006

bad
-----
Office2007
Inox
Black
Outlook


My aspx page is
----------------------


<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!

DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head runat="server">
<title>Untitled Page</title>
</
head>
<
body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:UpdatePanel ID="upd1" runat="server">
<ContentTemplate><telerik:radeditor id="RadEditor1" runat="server" skin="Outlook">
<Content>

</Content>
</telerik:radeditor>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</
body>
</
html>


But it works good with 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">



thanks,
RR

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 17 Jul 2008, 07:21 AM
Hi R,

The skinning appearance problems usually happens when there is no DOCTYPE specified for the editor page or the DOCTYPE is not XHTML compliant. Our controls are primarily designed to work on pages with XTHML doctype.

You should make sure that there is a XHTML compliant DOCTYPE defined in your master page. For example:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


We do not recommend using non XHTML compliant DOCTYPE because our control are intended to work with this type of DOCTYPE. Even more XHTML is the current standard for HTML. Sites that are XHTML compliant today have the best chance of being compliant with future versions of HTML and with future Web browsers. In addition, XHTML is much easier to deal with programmatically than traditional HTML so it is easier to use new technologies such as AJAX with a site that is XHTML compliant.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
R
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or