Re: problem with <div>

  •  04-22-2009, 8:06 PM

    Re: problem with <div>

    i try to set at Constant.js, but the users still able to set different style within the same div,
     
    what i want is when user apply style (either font-family,font-szie, or color) for a single text within the div, the editior will automatically set to this :
     
    <div style="position: absolute; width: 104px; height: 104px; color: red; top: 0px; left: 0px">Type text</div>
    instead of
     
     <div style="position: absolute; width: 104px; height: 104px; top: 0px; left: 0px">Type <span style="color: red">text</span></div>
    what i mean is if "Text" is set to red color, editor will change the color of "Type text" to red instead of just change "Text" to red only
     
    is this possible to set in editor ?
     
    thanks
View Complete Thread