Centering Headings - Inconsistent Behavior?

Last post 09-22-2011, 8:21 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  09-20-2011, 11:23 PM 70126

    Centering Headings - Inconsistent Behavior?

    If I select some text, apply a heading (h1-h6) and then click the center icon, I get the following HTML:

    <h1 align="center">My Heading Text Here</h1>
     
    However, if I click the center icon FIRST, and then apply the heading style, I get:
     
    <div style="text-align:center"><h1>My Heading Text Here</h1></div>
     
    In the first case, what I REALLY want is
     
    <h1 style="text-align:center">My Heading Text Here</h1> 
     
    What parameters or XML changes to I need to make to get the Cute Editor to NOT use "align="  attribute, which has been deprecated (and which in my environment does NOT result in the heading being centered).

    Steve Johnson
    U.S.Coast Guard Auxiliary
  •  09-22-2011, 8:21 AM 70147 in reply to 70126

    Re: Centering Headings - Inconsistent Behavior?

    Hi HighConcept,
     
     This is by design, for now can not achieve your requirement by change some code on your end. Sorry for your inconvenience.
     
    Regards,
     
    Ken
View as RSS news feed in XML