Zum Inhalt springen

Abstände innerhalb eines TMenu

Erstellt am 3. Juni 2004 · 1 Antwort · letzte Antwort am 8. Juni 2004

Tags: Frage

ben ·

Ich bekomme meine Abstände nicht kleiner, egal was ich mache! o.O

Mein Setup (nur Teil des Menus um welches es geht):

_MENU1 = HMENU
_MENU1.entryLevel = 0
_MENU1.1 = TMENU
_MENU1.1.wrap = <table cellspacing="0" cellpadding="0" border="1"><tr height="20"><td><font color="#b8b9c8"><b>-----------------------</b></font> | </td></tr></table>

_MENU1.1.NO {
allwrap = <tr height="20"><td height="20"><b>|</b></td></tr> 
linkWrap = <tr height="20"><td height="20"> | </td></tr><tr height="20"><td height="20"><font color="#b8b9c8"><b>-----------------------</b></font></td></tr>
ATagParams=class="no"
}

_MENU1.1.ACT < .NO
_MENU1.1.ACT = 1 
_MENU1.1.ACT {
allwrap = <tr height="20"><td height="20"><b>|</b></td></tr>
linkWrap = <tr height="20"><td height="20"> | </td></tr><tr height="20"><td height="20"><font color="#b8b9c8"><b>-----------------------</b></font></td></tr>
ATagParams=class="actcur"
}

_MENU1.1.CUR < .ACT
_MENU1.1.CUR = 1 
_MENU1.1.CUR {
allwrap = <tr height="20"><td height="20"><b>|</b></td></tr>
linkWrap = <tr height="20"><td height="20"> | </td></tr><tr height="20"><td height="20"><font color="#b8b9c8"><b>-----------------------</b></font></td></tr>
ATagParams=class="actcur"
}

Entsprechender Stylesheet-Bereich:

A.actcur:link {
text-decoration: none; 
font-size: 10px; 
line-height: 10px;
font-family: Arial; 
font-style: none; 
font-weight: bold; 
color: white;
}

A.actcur:visited {
text-decoration: none; 
font-size: 10px; 
line-height: 10px;
font-family: Arial; 
font-style: none; 
font-weight: bold; 
color: white;
}

A.actcur:active {
text-decoration: none; 
font-size: 10px; 
line-height: 10px;
font-family: Arial; 
font-style: none; 
font-weight: bold; 
color: white;
}

A.actcur:hover {
text-decoration: none; 
font-size: 10px;
line-height: 10px;
font-family: Arial; 
font-style: none; 
font-weight: bold; 
color: white;
}


A.no:link {
text-decoration: none; 
font-size: 10px; 
line-height: 10px;
font-family: Arial; 
font-style: none; 
font-weight: bold; 
color: #b8b9c8;
}

A.no:visited {
text-decoration: none; 
font-size: 10px; 
line-height: 10px;
font-family: Arial; 
font-style: none; 
font-weight: bold; 
color: #b8b9c8;
}

A.no:active {
text-decoration: none; 
font-size: 10px; 
line-height: 10px;
font-family: Arial; 
font-style: none; 
font-weight: bold; 
color: white;
}

A.no:hover {
text-decoration: none; 
font-size: 10px; 
line-height: 10px;
font-family: Arial; 
font-style: none; 
font-weight: bold; 
color: white;
}

Link zur Page:
http://www.tsgreutlingen.de/index.php?id=52

Ok, nun zum Problem:
Der Abstand auf der linken Seite zwischen den Links und den -------- ist einfach zu groß!
Ich hab in der Tabelle schon

cellspacing="0" und cellpadding="0"

eingetragen.
Habe auch versucht die Höhe der einzelnen <tr> Bereiche zu ändern (ohne Erfolg). Selbst bei height="20" (Ich weiss dass es nun noch Größere Abstände geben müsste) ändert sich der Abstand nicht.
Habe auch versucht im Stylesheet durch

font-size: 10px; 
line-height: 10px;

die Höhe der Zeile zu verkleinern. Brachte jedoch auch keine Veränderung...

Hat mir jemand nen Tip?!

Gruß, Ben

ben ·

Ok, habe das Problem soweit gelöst:

_MENU1.1.NO { 
allwrap = <tr height="20"><td height="20"><b>|</b></td></tr> 
linkWrap = <tr height="20"><td height="20"> | </td></tr><tr height="20"><td height="20"><font color="#b8b9c8"><b>-----------------------</b></font></td></tr> 
ATagParams=class="no"

ich habe hier ebenfalls noch eine Tabelle drum herum gelegt und cellspacing & cellpadding auf 0 gestellt.
Desweiteren habe ich die "----" mit schriftgröße 1 gemacht, was ebenfalls das ganze noch ein wenig zusammenschiebt.

evtl braucht es jemand anderes auch irgendwann mal