Re: CSS subclasses possible?

  •  03-05-2007, 1:40 PM

    Re: CSS subclasses possible?

    Adinarayana:
    I am also facing the same issue reported in this thread. Css class is getting assigned to the newly inserted SPAN tag though i select the entire paragraph ( I tried using Ctrl +A also) and assigned a css class from the drop down.
     
    Please let me know how to resolve this?
     
    similary i am unable to assign specific css class to <UL> and <LI> elements.
     
     
    Let me explain this in details.
     

    For example, you type "Hello World" into the editor.
     
    Select it and chaneg the font name to Comic sans MS, you will get:

    <span style="FONT-FAMILY: Comic Sans MS">Hello World</span>  
     
     
    If you select the above HTML code and change the font site, you have two situations:
     
    1. The select range is same. You will get:

    <span style="FONT-SIZE: 12pt; FONT-FAMILY: Comic Sans MS">Hello World</span>
      
     
    2. If the select range is not same, CuteEditor will reformat the selection.
     
    For example, what you select is <span style="FONT-FAMILY: Comic Sans MS">Hello World</span> testtest..
     
    In this situation, CuteEditor will generate the following HTML code:
     
    <span style="FONT-SIZE: 14pt">Hello World testtest</span>
     
    Instead of the nested HTML code like this:
     
    <span style="FONT-SIZE: 14pt"><span style="FONT-FAMILY: Comic Sans MS">Hello World</span> testtest..</span>
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread