Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthortsk
    • CommentTimeApr 29th 2006 edited
     permalink
    I recently stumbled upon a problem while implementing a WYIWYG editor (TinyMCE) in my CMS. The problem is that my css overwrites markup that the editor script spits out.

    For example <b>text</b does not appear bold. I did not specify anything in my css that would change the aspect of my markup. Also, color changing and font type is ignored. <font style="background-color: rgb(255, 255, 255);" color="#cc0000" face="arial black,avant garde" size="7">400 E / persoana</font> just doesn't appear any different from my standard font.

    I solved the <b> problem by a using a CSS selector

    #some_id b{
    font-weight:bold;
    }

    But I can't get around other features of the editor like <font>

    Can anyone help out?
    • CommentAuthormdeltongo
    • CommentTimeMay 4th 2006 edited
     permalink

    The problem is in your first CSS rule:

    *{ margin:0; padding:0; font: normal normal 11px Tahoma; color:#585858; }

    Try removing the font line and it should work.

    Hope it helps,

    Marco Del Tongo

    Web Architect

    •  
      CommentAuthortsk
    • CommentTimeMay 4th 2006
     permalink
    You're absolutely right. And it makes total sense. Thank you!
Add your comments
    Username Password
  • Format comments as (Help)