More formatblock problems ;-)

  •  04-11-2005, 4:30 PM

    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
View Complete Thread