EditCompleteDocument + Loading css from <head> section of document

Last post 01-27-2011, 11:00 AM by Eric. 1 replies.
Sort Posts: Previous Next
  •  01-26-2011, 11:06 PM 65902

    EditCompleteDocument + Loading css from <head> section of document

    I want to use the EditCompleteDocument property but none of the CSS classes from within the <head> of the document are being applied to the content within the editor.
     
    I would like to be able  load the complete HTML from a url and have it render within the editor with all of the css classes applied so it looks just like it would on the web. Is this possible? 
     
    ---------------------------------------------------------------------- 
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>My Page TItle</title>
        <link href="includes/default.css" rel="stylesheet" type="text/css" />
        <link href="includes/fonts.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="mybodyclass">
    this is my content
    <span class='someclass'>
    hi there
    </span>
    </body>
    </html>
  •  01-27-2011, 11:00 AM 65917 in reply to 65902

    Re: EditCompleteDocument + Loading css from <head> section of document

    Dear sincell,
     
    This is a path problem, please change the path of css file to absolute path and try it again.
     
    Thank you for asking
View as RSS news feed in XML