Zum Inhalt springen

Eigene CSS Datei für Menü

Erstellt am 22. März 2004 · 3 Antworten · letzte Antwort am 22. März 2004

Tags: Frage

Zed412 ·

Hy Leute,

Ihr seid mal wieder meine letzte Hoffnung 🙂 ...
Ich stelle gerade eine Template Seite auf Table um und ich hänge bei folgendem Problem:

Ich würde gerne der Menü Struktur eine eigene CSS Datei zuweisen, so wie ich es bei der normalen PAGE auch schon gemacht habe. Nur ich bekomme das irgendwie nicht hin...

Danke gleich mal für Eure Tipps

Zed

glitza ·

wieso nimmst Du nicht die gleiche css Datei und packst da auch die Menüinfos rein:

zB:

css enthält

##################################

/* Left Navigation Menu */
.leftnav {
font-weight: none;
font-family: Verdana, sans-serif;
text-decoration: none;
color: #FFFFFF; /* weiss */
padding: 2px;
margin-left: 10px;
border-bottom: 1px solid #8080C0; /* dunkelblau */
background-color: #8080C0; /* dunkelblau */
}
.leftnav a:link {
font-weight: none;
font-family: Verdana, sans-serif;
text-decoration: none;
color: #FFFFFF; /* weiss */
padding: 2px;
margin-left: 10px;
border-bottom: 1px solid #8080C0; /* dunkelblau */
background-color: #8080C0; /* dunkelblau */
}
.leftnav a:visited {
font-weight: none;
font-family: Verdana, sans-serif;
text-decoration: none;
color: #FFFFFF; /* weiss */
padding: 2px;
margin-left: 10px;
border-bottom: 1px solid #8080C0; /* dunkelblau */
background-color: #8080C0; /* dunkelblau */
}
.leftnav a:active {
font-weight: none;
font-family: Verdana, sans-serif;
text-decoration: none;
color: #FFFFFF; /* weiss */
padding: 2px;
margin-left: 10px;
border-bottom: 1px solid #FF0000; /* rot */
background-color: #FF0000; /* rot */
}
.leftnav a:hover {
font-weight: none;
font-family: Verdana, sans-serif;
text-decoration: none;
color: #FF0000; /* rot */
padding: 2px;
margin-left: 10px;
border-bottom: 1px solid #8080C0; /* dunkelblau */
background-color: #8080C0; /* dunkelblau */
}
.leftnav_act a:link {
font-weight: none;
font-family: Verdana, sans-serif;
text-decoration: none;
color: #FFFFFF; /* weiss */
padding: 2px;
margin-left: 10px;
border-bottom: 1px solid #8080C0; /* dunkelblau */
background-color: #8080C0; /* dunkelblau */
}
.leftnav_act a:visited {
font-weight: none;
font-family: Verdana, sans-serif;
text-decoration: none;
color: #FFFFFF; /* weiss */
padding: 2px;
margin-left: 10px;
border-bottom: 1px solid #8080C0; /* dunkelblau */
background-color: #8080C0; /* dunkelblau */
}
.leftnav_act a:hover {
font-weight: none;
font-family: Verdana, sans-serif;
text-decoration: none;
color: #FF0000; /* rot */
padding: 2px;
margin-left: 10px;
border-bottom: 1px solid #8080C0; /* dunkelblau */
background-color: #8080C0; /* dunkelblau */
}

##################################

und in das Setup trägst Du die Verweise ein:

##################################

subparts.LEFTNAV.1 {
NO.allWrap = <div class="leftnav"> | </div>
ACT = 1
ACT.allWrap = <div class="leftnav"> | </div>
}

##################################

Zed412 ·

Hy glitza und FordPerfect,

schönen Dank für Eure rasche Hilfe! Manchmal sieht man den Wald vor lauter Bäumen nicht.
Werde Euren Radschlag beherzigen und eine CSS mit "vernünftigen" Klassen machen...

Noch mal Danke für Eure Hilfe

Zed 8-)