Zum Inhalt springen

Problem: Abstand der Menüpunkte

Erstellt am 28. Januar 2007 · Noch keine Antworten

Tags: Frage

Eichbjörnchen ·

Servus,
ich habe ein Problem mit dem Menü. Die einzelnen Menüpunkte im HMENU sind viel zu weit von einander weg.
Es scheint ein Problem von Typo3 bei mir zu sein, wenn ich als Template eine Seite, die nur im Bodybereich ###MENU_LINKS### besitzt, sind die Menüpunkte weit auseinander.

Mein TS schaut so aus:

page = PAGE
page {
    typeNum = 0
    #bodyTag = <body gbcolor="#FFFFFF" topmargin="0" leftmargin="0">
    stylesheet = fileadmin/style_geschaeft.css
    
    10 = TEMPLATE
    10.template = FILE
    10.template.file = fileadmin/template_geschaeft.html
    
    10.workOnSubpart = DOKUMENT 
    
    10.marks {
        
        MENU_LINKS = HMENU
        MENU_LINKS {
            special = directory
            special.value = 1
            entryLevel = 0
            1 = GMENU
            1.NO = 1
            1.NO {
                wrap =|<br />
                backColor = #343434
                10 = TEXT
                10.text.field = title
                10.fontColor = #FFFFFF
                #10.fontFile = fileadmin/verdana.ttf
             	10.fontSize = 13
             	10.niceText = 1
             	10.offset = 14, 14 
             	   
            }
            1.RO < .1.NO
            1.RO.backColor = #FFFFFF
            1.RO.10.fontColor = #000000
            
            2 < .1 
               2.NO {
                    #backColor = #FFD700
                    #10.fontColor = #000000
                    10.fontSize = 11
                    10.offset = 20, 14
               }
               2.RO < .2.NO
               2.RO.backColor = #FFFFFF
               2.RO.10.fontColor = #000000
            
        }
        CONTENT = CONTENT
        CONTENT {
            table = tt_content
            select.orderBy = sorting
            select.where = colPos = 0
        }
        
        
        
    }
    

}

Im Sourcecode steht folgendes über das Menü:

<tr><td><a href="index.php?id=person" onfocus="blurLink(this);" onmouseover="over('img9_d122_0');" onmouseout="out('img9_d122_0');"><img src="typo3temp/menu/670a6965d0.gif" width="120" height="50" border="0" alt="Meine Person" name="img9_d122_0" /></a><br /><a href="index.php?id=kontakt" onfocus="blurLink(this);" onmouseover="over('img8_d122_1');" onmouseout="out('img8_d122_1');"><img src="typo3temp/menu/3f1a0b7eb1.gif" width="120" height="50" border="0" alt="Kontakt" name="img8_d122_1" /></a><br /><a href="index.php?id=fachgebiet" onfocus="blurLink(this);" onmouseover="over('img7_d122_2');" onmouseout="out('img7_d122_2');"><img src="typo3temp/menu/36cbdae7c7.gif" width="120" height="50" border="0" alt="Fachgebiet" name="img7_d122_2" /></a><br /><a href="index.php?id=honorar" onfocus="blurLink(this);" onmouseover="over('img6_d122_3');" onmouseout="out('img6_d122_3');"><img src="typo3temp/menu/a445431bb6.gif" width="120" height="50" border="0" alt="Honorar" name="img6_d122_3" /></a><br /><a href="index.php?id=links" onfocus="blurLink(this);" onmouseover="over('img5_d122_4');" onmouseout="out('img5_d122_4');"><img src="typo3temp/menu/d3ca0cf227.gif" width="120" height="50" border="0" alt="Links" name="img5_d122_4" /></a><br /><a href="index.php?id=impressum" onfocus="blurLink(this);" onmouseover="over('img4_d122_5');" onmouseout="out('img4_d122_5');"><img src="typo3temp/menu/2dc35c3158.gif" width="120" height="50" border="0" alt="Impressum" name="img4_d122_5" /></a><br /><a href="index.php?id=sitemap" onfocus="blurLink(this);" onmouseover="over('img3_d122_6');" onmouseout="out('img3_d122_6');"><img src="typo3temp/menu/7c6073ede6.gif" width="120" height="50" border="0" alt="Sitemap" name="img3_d122_6" /></a><br /></td></tr>

alles steht an einem Stück.
Ich denke mal, das das Problem an den height="50" liegt, wie bekomme ich die weg?

Gruß
Björn
PS: Ich hoff ich hab nicht irgendwelche Angaben vergessen, bin noch neu hier :-)