Re: Setting the Font Size List

  •  07-08-2004, 3:51 PM

    Re: Setting the Font Size List

     Adam wrote:
     
    If you do want to set the right size, you approach it is to make use of the Style menu and add a bunch of style items to it called "10pt", "12pt", etc, and then add styles to the stylesheet  so they are set to the right size.

     
    Hmm well you did point out that I was approaching this problem the wrong way.
     
    What I want to have is a DropDownList with items (for example "10px") so that when that item is selected, it wraps
    <font style="font-size: 10px">foo</font>
    around my text.
     
    I've looked at the StylesDropDown but it wraps <font class=10px>foo</font>.  So in this case if the contents of the CuteEditor were to be displayed in a different page, then that page would have to have the same style sheet linked to it (not what I'm looking for)
     
    Does the CuteEditor provide an easy way of doing this or am I stuck writing my own Custom DropDownList?
View Complete Thread