Zum Inhalt springen

Klickpfad: ie fügt einen Zeilenumbruch ein

Erstellt am 4. Februar 2006 · 2 Antworten · letzte Antwort am 5. Februar 2006

Tags: HTML & CSS, Frage

beginner ·

Hallo,

mit folgendem Typoscript habe ich in meine Seite einen Klickpfad eingebaut:

marks.TITEL = HMENU
    marks.TITEL {
     special = rootline
     special.range = 0 | -1
     1 = TMENU
     1.NO {
       linkWrap = ||*| :  |*|
       ATagParams = class="titel"
      }
     }

Im Netscape und Firefox sieht das Ergebnis wie gewünscht aus:

Hauptmenüpunkt: Untermenüpunkt

Der InternetExplorer (6) fügt merkwürdigerweise Zeilenumbrüche ein, was zu folgendem Ergebnis führt:

Hauptmenüpunkt

Untermenüpunkt
:

Kann mir jemand sagen, was an dem Script falsch ist?

Die zugehörige css-Datei sieht so aus:

.titel
{
margin:28px 10px 0px 10px;
width:500px;
font-size:12px;
height:28px;
color:#242424;
font-weight:bold;
font-variant:small-caps;
}
a.titel
{
font-size:12px
color:#242424;
text-decoration:none;
margin:0;
}

Der Marker TITEL ist in der template-Datei so eingebunden:

<div class="titel">###TITEL###</div>

Schon mal schönen Dank!

birgitr ·

.titel
{
margin:28px 10px 0px 10px;
width:500px;
font-size:12px;
height:28px;
color:#242424;
font-weight:bold;
font-variant:small-caps;
float: left;
}