---
title: "Menüdarstellung im Firefox"
url: "https://www.typo3.net/d/66301-menuedarstellung-im-firefox"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage","HTML & CSS"]
created: "2007-08-05"
last_reply: "2007-08-06"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Menüdarstellung im Firefox

TYPO3 › Menüs · 1 Antwort · gestartet 2007-08-05

## Eröffnungsbeitrag

**markus001** · 2007-08-05 · [Beitrag #1](https://www.typo3.net/d/66301-menuedarstellung-im-firefox/1)

Hallo Forum!

Ich habe folgendes Problem an dem ich verzweifle! Vielleicht kann mir jemand helfen?

Ich habe folgendes Menü mit TS erstellt:

```typoscript
temp.limenu = HMENU
temp.limenu {
	special = directory
	special.value = 20
	entryLevel = 1
	wrap = <h2 style="display: none;">Haupt-Navigation:</h2>|
	1 = TMENU
	1 {
		wrap = <ul class="mainmenu">|</ul>
		noBlur = 1
		expAll = 1
		NO.ATagTitle.field = subtitle // title
		NO.allWrap =  <li>|</li>
		NO.ATagParams = class="no"
  		NO.stdWrap.htmlSpecialChars = 1 
  				
		ACT = 1
		ACT.wrapItemAndSub = <li>|</li>
		ACT.ATagTitle.field = subtitle // title
		ACT.ATagParams = class="act"
 		ACT.stdWrap.htmlSpecialChars = 1
 		
 		#CUR = 1
 		#CUR.ATagParams = class="act"
	}
	2 < .1
	3 < .1
}

page.10.marks.left < temp.limenu
```

Das CSS sieht so aus:

```typoscript
/* Main Men&#65533; Menu */
ul.mainmenu { 
	list-style-type: none; 
	padding: 5px 10px;	
	margin: 0;
}
ul.mainmenu li a {
	width: 170px;
	background-color: white;
	display: block;
	padding: 5px 10px;
	text-decoration: none;
	color: #666666;
	font-weight: bold;
	border-top: 1px solid #ccc;
	border-right: 0px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 0px solid #ccc;
}
ul.mainmenu li a.act { background-color: #FF99FF; }
ul.mainmenu li a:hover {
	background-color: #FF00FF;
	color: #000000;
}
	/* Ebene 2 */
ul.mainmenu li ul {
	padding: 0;
	background-color: #CCCCCC;
}
ul.mainmenu li ul li a {
	width: 150px;
	padding: 2px 20px;
	font-size: 11px;
}
	/* Ebene 3 */
ul.mainmenu li ul li ul { padding: 0; }
ul.mainmenu li ul li ul li a {
	width: 130px;
	padding: 1px 30px;
	font-size: 11px;
}
```

Die Darstellung im IE sieht so aus wie sie soll siehe Bild:

[Bild: ostwald.info/richtig.gif](http://www.ostwald.info/richtig.gif)

Die Darstellung im FF sieht nicht so aus wie sie soll was mach ich falsch?

[Bild: ostwald.info/falsch.gif](http://www.ostwald.info/falsch.gif)

## Antworten

### [#2](https://www.typo3.net/d/66301-menuedarstellung-im-firefox/2) · fuss · 2007-08-06

Olla!

In Zeile 13 sollte es wohl eher lauten: wrapItemAndSub.

Wenn dann der Abstand im Feuerfuchs immer noch zu gross sein sollte, einfach mal mit den padding Werten ab der 2. Ebene spielen.

gruss, fuss

---

Quelle: „Menüdarstellung im Firefox“, typo3.net, https://www.typo3.net/d/66301-menuedarstellung-im-firefox
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
