CSS not being parsed correctly within editor

  •  01-16-2009, 10:40 AM

    CSS not being parsed correctly within editor

    Hi Adam,
     
    I can't seem to get my fonts to look the same both within the editor and outside of the editor. When the XHTML is used in my page it is shown at the correct 11px size, but within the editor it's much larger. I've had a hunt through the forums and can't find the answer.
     
    Below are the separate sections of related code:
     
    The editor tag:

    <CE:Editor ID="Editor1" runat="server" AutoParseClasses="true" Width="100%" Height="450"
      AutoConfigure="Simple" FilesPath="/App_Themes/Default/CMS" BreakElement="Br" ConvertHTMLTagstoLowercase="true"
      RemoveTBODYTag="true" EditorWysiwygModeCss="/App_Themes/Default/Style.css">
    </CE:Editor>
     

    My style.css (complete, not a snippet):
    body
    {
      background-image: url(/App_Themes/Default/Images/page_background.png);
      background-repeat: repeat-x;
      font-family: Arial, Verdana;
      font-size: 11px;
      color: #555555;  
    }
     
     
    Screen Snaps:
     
    Saved XHTML Rendered into an ASP:Label:
     

    As shown within Editor:
     
     
    I'll be heading home for the weekend shortly so I'll check back on Monday to see if you've been able to shed any light on the subject.
     
    Thanks in advance,
    Craig
     
    Filed under: , ,
View Complete Thread