Style Problem

Last post 06-17-2005, 7:24 PM by Jugador. 4 replies.
Sort Posts: Previous Next
  •  06-17-2005, 10:58 AM 7719

    Style Problem

    Hi Guys,
     
    I have a problem with the Styles ..... I have my own personalize style like :
               color:blue;font-size:18px;font-weight:bold;

    It works well ... But if I changed that style to : color:#blue;font-size:18px;font-weight:bold;

    It does not consider the color ..... It is important due to our application let our customer defined their styles .....
    and we can not tell them, sorry it does not work with #

    It may help :
    I'm adding the styles like this

    rddl.Items.Add("<span Style='" + lsContentStyle + "'>" + lstyle + "</span>",lsContentStyle,lsContentStyle);
    where
    lsContentStyle = "color:blue;font-size:18px;font-weight:bold;"


    Hope Your Comments
    AAP
              
     
     
  •  06-17-2005, 11:20 AM 7721 in reply to 7719

    Re: Style Problem

    AAP,
     
    color:#blue is not correct.
     
    Note: Only 16 color names are supported by the W3C HTML 4.0 standard (aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow). For all other colors you should use the Color HEX value.


    For more information, please check the followng link:

    http://www.w3schools.com/html/html_colors.asp  
     

    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

  •  06-17-2005, 5:02 PM 7735 in reply to 7721

    Re: Style Problem

    Good Point  !!!!!!

    Here I have something else related with styles ..... I fill it from classes styles ..... Ok till this point

    But sometimes when I change the style and I want to roll back with Not Set value it doest work ..

    So changes in the style are permanent .... I've tested it here on this editor and the same problem occurs

    Salu2s
    AAP
     
  •  06-17-2005, 6:56 PM 7737 in reply to 7735

    Re: Style Problem

    One more .. Just thinking loudly .....
     
    I would like to personalize the defaults tags ..... <h1>, <p>, .. and so on similar to a style file
    so they are reflected in the editor each time.
     
    I can read this configuration from a file or data base but  they will need to be applied  in the editor in real live time...
     
    Hope your comments
     
    Salu2s
    AAP
  •  06-17-2005, 7:24 PM 7738 in reply to 7735

    Re: Style Problem

    Uhmmm No Set in the style is not working properly  .... Causing Problems :S
     
    Salu2s
    AAP
View as RSS news feed in XML