More formatblock problems ;-)

Last post 04-11-2005, 4:57 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  04-11-2005, 4:30 PM 5586

    More formatblock problems ;-)

    I read another post, and so changed my format block configuration to look like the following.  Like the other poster, I want text marked with the SectionHeading and SubSectionHeading items to come out like:  <p class='SectionHeading'>some text</p>
    but at best I just get <div>some text</div>.  What am I missing? 

    I have the EditorWysiwig... property set to a .css file that has
    .SectionHeading { font:bold 14px arial; margin-bottom:6px; color: #000000;}
    .SubSectionHeading { font:bold 12px arial; margin-bottom:3px; color: #000000;}
    in it, so the text in the actual drop down appears correctly, but the text the user types in is unaffected.

            <FormatBlock>
                <item text="[[Normal]]" value="&lt;P&gt;">
                    <html><![CDATA[<span style='color: black; font-family:Arial, sans-serif; font-weight: normal; font-size:10pt'>[[Normal]]</span>]]></html>
                </item>
                <item text="SectionHeading" value="SectionHeading">
                    <html><![CDATA[<span class='SectionHeading'>SectionHeading</span>]]></html>
                </item>
                <item text="SubSectionHeading" value="SubSectionHeading">
                    <html><![CDATA[<span class='SubSectionHeading'>SubSectionHeading</span>]]></html>
                </item>
            </FormatBlock>


    Thanks in advance,
    Sheryl
  •  04-11-2005, 4:57 PM 5591 in reply to 5586

    Re: More formatblock problems ;-)

    Sheryl,

    FormatBlock -- paragraph drop-down changes the paragraph style of the selected text.



    CssClass - class drop-down changes the CSS class of the selected text



    In your case, SectionHeading and SubSectionHeading should go into the Css Class dropdown.


     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML