Zum Inhalt springen

Menüdarstellung im Firefox

Erstellt am 5. August 2007 · 1 Antwort · letzte Antwort am 6. August 2007

Tags: HTML & CSS, Frage

markus001 ·

Hallo Forum!

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

Ich habe folgendes Menü mit TS erstellt:

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:

/* 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

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

Bild: ostwald.info/falsch.gif

fuss ·

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