Zum Inhalt springen

Stylesheet-Problem

Erstellt am 2. September 2003 · 5 Antworten · letzte Antwort am 10. Dezember 2003

Tags: Frage

SaschaH ·

Hallo zusammen, ich hab ein Prblem mit meinem Stylesheet, und zwar wird im Netscape und im Opera mein Activelink komisch formatiert angezeigt, im Quellcode steht zwar ><div class="leftnav_act"><A HREF="400.0.html" onFocus="blurLink(this);">Mitgliedschaft</A></div> drin, aber der Style aus meinem Stylesheet wir nicht angezeigt.
Desweiteren stimmt die linke ausrichtung nicht im aktive steht der weiter links??warum das?

Hier der Code aus meinem Setup:

subparts.MENUSUB= HMENU
subparts.MENUSUB.entryLevel = 2
subparts.MENUSUB.1 = TMENU
subparts.MENUSUB.1 {
NO.allWrap = <div class="leftnav"> | </div>
ACT = 1
ACT.allWrap = <div class="leftnav_act"> | </div>
}

und hier der Stylesheet-Code:
/* Left Navigation Menu */
.leftnav {
font-family: Arial, sans-serif;
font-size: 9px;
color: #FFFFFF;
margin-left: 5px;
margin-right: 30px;
margin-top:5px;
margin-bottom:5px;
}
.leftnav a:link {
font-family: Arial, sans-serif;
text-decoration: none;
color: #FFFFFF; /* dark blue */
margin-left: 5px;
margin-right: 30px;
margin-top:5px;
margin-bottom:5px;
}
.leftnav a:visited {
font-family: Arial, sans-serif;
text-decoration: none;
color: #FFFFFF; /* dark blue */
margin-left: 5px;
margin-right: 30px;
margin-top:5px;
margin-bottom:5px;

}
.leftnav a:active {
font-family: Arial, sans-serif;
text-decoration: none;
color: #FFFFFF; /* dark blue */
margin-left: 5px;
margin-right: 30px;
margin-top:5px;
margin-bottom:5px;

}
.leftnav a:hover {
font-family: Arial, sans-serif;
text-decoration: none;
color: red; /* burgundy */
margin-left: 5px;
margin-right: 30px;
margin-top:5px;
margin-bottom:5px;

}
.leftnav_act a:link {
font-size: 9px;
font-family: Arial, sans-serif;
text-decoration: none;
color: red; /* dark blue */
margin-left: 5px;
margin-right: 30px;
margin-top:5px;
margin-bottom:5px;

}
.leftnav_act a:visited {
font-size: 9px;
font-family: Arial, sans-serif;
text-decoration: none;
color: red; /* dark blue */
margin-left: 5px;
margin-right: 30px;
margin-top:5px;
margin-bottom:5px;

}
.leftnav_act a:hover {
font-size: 9px;
font-family: Arial, sans-serif;
text-decoration: none;
color: red; /* dark blue */
margin-left: 5px;
margin-right: 30px;
margin-top:5px;
margin-bottom:5px;

}
.leftnav_act a:active {
font-family: Arial, sans-serif;
text-decoration: none;
color: red; /* dark blue */
margin-left: 5px;
margin-right: 30px;
margin-top:5px;
margin-bottom:5px;

}

Kann mir da jemand weiterhelfen?

SaschaH

SaschaH ·

Hallo CoolWater,

ich habs mit dem aktuellen Netscape probiert. Die 4er Versionen sind mir egal.

Trotzdem Danke
SaschaH

nagus ·
CoolWater schrieb

soweit ich weiß, unterstützt Netscape 4.x KEINE Stylesheets 🙁

NS4.x unterstützt sehr wohl stylesheets!

ITiger ·

Wird denn das Stylesheet überhaupt eingebunden?

im setup hab ich noch:

page.stylesheet = fileadmin/.../xyz.css

Gruß ITiger.