Centering Headings - Inconsistent Behavior?

  •  09-20-2011, 11:23 PM

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