[TYPO3] rtehtmlarea with custom classes do not work in firefox

Tim Loenders tloenders at gmail.com
Mon Aug 14 12:46:46 CEST 2006


Hello,

I added a custom class in my rtehtmlarea setup that doesn't seem to work in
Firefox. This is the class

RTE.classes {
    title {
        name = title
        value =  font-family : Helvetica rounded; font-size: 18px;
font-weight: bold; color: #ffffff; background: #000000; width = 605px;
height= 50px; margin-left= 12px; padding-left:15px
    }

The width, height, margin and padding left parameters do not apply in as
well the back end as the front end in Firefox, while they behave perfectly
well in IE.

Also the title positions itself approximately 50 pixels lower in Firefox as
they do in IE. Could it be that Firefow adds an extra P or something?

Doen anyone have a clue why this could be so?

This is the rest of my page TS for the RTE:


--->
RTE.classes {
    title {
        name = title
        value =  font-family : Helvetica rounded, arial; font-size: 18px;
font-weight: bold; color: #ffffff; background: #000000; width = 605px;
height= 50px; margin-left= 12px; padding-left:15px
    }
    timm {
        name = timm
                value = font-family : Helvetica rounded, arial; font-size:
12px; font-weight: bold; color: #000000;
    }

}


RTE.classesAnchor {
    title {
        class = title
        titleText = title
    }
    timm {
        class = timm
        titleText = timm
    }
}


RTE.default {

    useCSS = 0  #### I tried 1 also, didn't work
    contentCSS = fileadmin/mahl/templates/stijl2.css
    showTagFreeClasses = 1
    enableWordClean = 1
    removeTrailingBR = 0
    removeComments = 1
    disablePCexamples = 1

     showButtons = textstyle, textstylelabel, blockstylelabel, blockstyle,
bold,  left, center, right, insertcharacter, link, image, copy, cut, paste,
undo, redo, rowproperties, rowinsertabove, rowinsertunder, rowdelete,
rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit,
cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit,
cellmerge, table
        hideButtons =  formatblock, user, acronym, line, inserttag,
spellcheck, textstylelabel, fontstyle, fontsize, italic, underline,
strikethrough, justifyfull, orderedlist, unorderedlist, showhelp, emoticon,
lefttoright, righttoleft, toggleborders, subscript, superscript,
textindicator, insertcharacter,  findreplace, chMode, removeformat,
toggleborders, about, subscript, superscript

    keepButtonGroupTogether = 1


    showStatusBar =  1


    hidePStyleItems = pre,address


   ignoreMainStyleOverride = 0

    proc.allowedClasses (
        title, timm
    )

    classesParagraph (
        title, timm
    )
    classesCharacter (
        title, timm
    )
    classesTable = title, timm
    classesTD = title, timm
    classesLinks = title, timm


    classesAnchor = title, timm
    classesAnchor.default {
        page = internal-link
        url = external-link-new-window
        file = download
        mail = mail
    }
    disableAlignmentFieldsetInTableOperations = 1
    disableSpacingFieldsetInTableOperations = 1
    disableColorFieldsetInTableOperations = 1
    disableLayoutFieldsetInTableOperations = 1


Many thanks for your help!!
-- 
Tim Loenders



More information about the TYPO3-english mailing list