Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Prasad joshi 35 posts 55 karma points
    Feb 11, 2011 @ 11:38
    Prasad joshi
    0

    css property problem

    hi,

    I am create the property of css by .somename and want to give in richtext editor but it cant work

    plz help me out

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Feb 11, 2011 @ 12:35
  • Prasad joshi 35 posts 55 karma points
    Feb 11, 2011 @ 12:55
    Prasad joshi
    0

    Hi,

    Yha i Read this but still it not apply...

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Feb 11, 2011 @ 12:59
    Dirk De Grave
    0

    Also need to make sure stylesheet can be used in the rte. Go to datatype settings of your rich text editor datatype, check relevant stylesheet and all should work well

     

    Cheers,

    /Dirk

  • Prasad joshi 35 posts 55 karma points
    Feb 11, 2011 @ 13:16
    Prasad joshi
    0

    In the datatype i choose my style sheet in which i create the property but still it not work

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 11, 2011 @ 13:22
    Jan Skovgaard
    0

    Hi Prasad

    could you give bit more information about HOW it's not working? You can see the defined style in the "styles" dropdown in the rich text editor? If so, is it when you apply the style to some text that it does not work?

    /Jan

  • Prasad joshi 35 posts 55 karma points
    Feb 11, 2011 @ 13:46
    Prasad joshi
    0

    yha ..

    I create the style sheet and then its property name as .para. Now i goes in content write the text in the rte and just select the style property in the dropdown list but it cant reflect in the editor not even in page.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 11, 2011 @ 13:50
    Jan Skovgaard
    0

    Hi Prasad

    If you use the "HTML" view button in the RTE, is the style class then applied to the element directly or wrapped with a <span class="yourstyle"></span> kind of way?

    I think this could maybe have something to do with CSS specificity...

    /Jan

  • Prasad joshi 35 posts 55 karma points
    Feb 11, 2011 @ 13:54
    Prasad joshi
    0

    no class is applied in rte

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Feb 11, 2011 @ 13:56
    Jan Skovgaard
    0

    Hi Prasad

    How have you defined the style in the stylesheet?

    What have you written in the different fields?

    Name: ?

    Alias: ?

    Style: ?

    /Jan

  • Prasad joshi 35 posts 55 karma points
    Feb 11, 2011 @ 14:06
    Prasad joshi
    0

    Name: Para

    Alise :.para

    style :color:#ac0404; font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size:16px; text-decoration:underline; padding-left:50px; margin-top:20px; 

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Feb 11, 2011 @ 15:21
    Michael Latouche
    1

    Hi Prasad,

    Are you trying to apply the style on simple texte, or is it on a html element like a link or something? Because I think the RTE is by default configured in a way that not all element/tags are allowed to have a class attribute defined.

    Also - just to make sure :-) : do you actually select/highlight the text to format prior to selecting the style in the list?

    Cheers,

    Michael.

Please Sign in or register to post replies

Write your reply to:

Draft