---
title: "Probleme mit Farbe im TMENU"
url: "https://www.typo3.net/d/26138-probleme-mit-farbe-im-tmenu"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage","HTML & CSS"]
created: "2005-06-17"
last_reply: "2005-06-18"
replies: 3
solved: true
page: 1
pages: 1
lang: "de"
---

# Probleme mit Farbe im TMENU

TYPO3 › Menüs · 3 Antworten · gelöst · gestartet 2005-06-17

## Frage

**Unbekannter Benutzer** · 2005-06-17 · [Beitrag #1](https://www.typo3.net/d/26138-probleme-mit-farbe-im-tmenu/1)

HI,

auf <http://www.abenteuer-photoshop.de> seht ihr oben ein TMenu. Der aktuelle Menüpunkt sieht jedoch anders aus als die anderen (wahrscheinlich die Standardeinstellungen vom IE). Klickt man z.B. auf "Artikel" sieht der Link dann auch so komisch aus.

Wie kann ich den aktuellen Menüpunkt aussehen lassen wie die anderen?

Mein Typoscript:

```typoscript
seite = PAGE
seite.config.index_enable = 1
seite{
    typeNum = 0
    bodyTag = <body bgcolor="#6A6A6A" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="background: #6a6a6a url(fileadmin/images/hintergrund.gif) repeat fixed center center;">
    stylesheet = fileadmin/style.css
    meta.AUTHOR = Dirk Metzmacher

    10 = TEMPLATE
    10.template = FILE
    10.template.file = fileadmin/ap.html
    10.workOnSubpart = DOKUMENT

    10.marks{

        MENU = HMENU
        MENU.special = directory
        MENU.special.value = 1  
        MENU.1 = TMENU
        MENU.1.NO = 1
        MENU.1.CUR < .MENU.1.NO
        MENU.1.NO.ATagParams = class="hauptmenu"
        MENU.1.NO.linkWrap =   |  |
        MENU.1.ACTIFSUB < .MENUO.1.CUR
                
        SUBMENU = HMENU
        SUBMENU.special = directory              
        SUBMENU.entryLevel = 1
        SUBMENU.1.expAll = 1
        SUBMENU.1 = TMENU
        SUBMENU.1.NO = 1
        SUBMENU.1.NO.ATagParams = class="linksubmenu1"
        SUBMENU.1.NO.linkWrap = |<br />

        SUBMENU.2 = TMENU
        SUBMENU.2.NO = 1
        SUBMENU.2.NO.linkWrap =     <img src="fileadmin/images/array.gif" alt="" />|<br />
        SUBMENU.2.NO.ATagParams = class="linksubmenu2"

        plugin.tx_macinasearchbox_pi1 {
            pidSearchpage = 34
        }
        
        BOTTOM< plugin.tx_macinasearchbox_pi1
        
        CONTENT = CONTENT
        CONTENT{
            table = tt_content
            select.orderby = sorting
            select.where = colPos = 0
        }

    }
}
tmp_tt_content_text < tt_content.text
tt_content.text >
tt_content.text = COA
tt_content.text.10 < lib.stdheader
tt_content.text.20 = TEXT
tt_content.text.20 {
field = bodytext
fieldRequired = bodytext
wrap = <font face="Arial" size="2">|</font><br />
parseFunc < tmp_tt_content_text.20.parseFunc
editIcons < tmp_tt_content_text.20.editIcons
134 }
```

Mein CSS:

```typoscript
BODY
{
    SCROLLBAR-FACE-COLOR: #ffffff;
    SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
    SCROLLBAR-SHADOW-COLOR: #000000;
    SCROLLBAR-3DLIGHT-COLOR: #000000;
    SCROLLBAR-ARROW-COLOR: #4f4f4f;
    SCROLLBAR-TRACK-COLOR: #ffffff;
    SCROLLBAR-DARKSHADOW-COLOR: #ffffff;
}

A.hauptmenu:link
{
    text-decoration: none;
    color: #000000;
    font-size: 12px;
    font-weight: none;
    font-family: arial,verdana,tahoma;
}

A.hauptmenu:visited
{
    text-decoration: none;
    color:  #000000;
    font-size: 12px;
    font-weight: none;
    font-family: arial,verdana,tahoma;
}

A.hauptmenu:active
{
    text-decoration: underline;
    color:  #000000;
    font-size: 12px;
    font-weight: none;
    font-family: arial,verdana,tahoma;

}

A.hauptmenu:hover
{
    text-decoration: underline;
    color:  #000000;
    font-size: 12px;
    font-weight: none;
    font-family: arial,verdana,tahoma;

}

.linksubmenu1
{
    color: #0044ff;
    font-size: 14px;
    font-weight: bold;
    font-family: arial,verdana,tahoma;
    line-height: 20px;
}

.linksubmenu2
{
    color: #000000;
    font-size: 13px;
    font-weight: none;
    font-family: arial,verdana,tahoma;
    margin-left: 5px;
    line-height: 20px;
    list-style-image: url(http://www.abenteuer-photoshop.de/fileadmin/images/array.gif);
}

.newslistdatum
{
    color: #72a317;
    font-size: 12px;
    font-weight: none;
    font-family: arial,verdana,tahoma;
}

.newslisttitel
{
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    font-family: arial,verdana,tahoma;
}

.newslisttitel a:link
{
  color: #000000;
}

.newslisttitel a:visited
{
  color: #000000;
}

.newslisttitel a:hover
{
  color: #000000;
}

.newslisttitel a:active
{
  color: #CC0000;
}
```

Schonmal vielen Dank für die Hilfe

Viele Grüße

Jan Metzmacher

## Beste Antwort

**just2b** · 2005-06-17 · [Beitrag #2](https://www.typo3.net/d/26138-probleme-mit-farbe-im-tmenu/2)

fürs CUR hast du auch keine klasse zugeweisen... da is nix was er nehmen könnt.....

lg georg

## Antworten

### [#2](https://www.typo3.net/d/26138-probleme-mit-farbe-im-tmenu/2) · just2b · 2005-06-17 · Beste Antwort

(Text siehe oben unter „Beste Antwort“.)

### [#3](https://www.typo3.net/d/26138-probleme-mit-farbe-im-tmenu/3) · Unbekannter Benutzer · 2005-06-18

und wie kann ich das machen?

### [#4](https://www.typo3.net/d/26138-probleme-mit-farbe-im-tmenu/4) · Unbekannter Benutzer · 2005-06-18

HI,

habe meinen Fehler selber gefunden. Aus dem:

```typoscript
MENU = HMENU
        MENU.special = directory
        MENU.special.value = 1  
        MENU.1 = TMENU
        MENU.1.NO = 1
        MENU.1.CUR < .MENU.1.NO
        MENU.1.NO.ATagParams = class="hauptmenu"
        MENU.1.NO.linkWrap =   |  |
        MENU.1.ACTIFSUB < .MENUO.1.CUR
```

Muss das gemacht werden:

```typoscript
        MENU = HMENU
        MENU.special = directory
        MENU.special.value = 1  
        MENU.1 = TMENU
        MENU.1.NO = 1
        MENU.1.NO.ATagParams = class="hauptmenu"
        MENU.1.NO.linkWrap =   |  |
        MENU.1.CUR < .MENU.1.NO
        MENU.1.ACTIFSUB < .MENUO.1.CUR
```

---

Quelle: „Probleme mit Farbe im TMENU“, typo3.net, https://www.typo3.net/d/26138-probleme-mit-farbe-im-tmenu
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
