Hey,
ich bin´s nochmal!
Hab jetzt alles soweit hinbekommen, wie ich möchte, Dank deiner Hilfestellungen!
Jedoch habe ich noch ein kleines Problem: Ich habe wie du gesagt hast, eine Klasse im CSS erzeugt (MenueACT). Hier möchte ich mit bewirken, dass der TMENU-Button, worauf sich der User akutell befindet, kursiv dargestellt wird. Dies hat auch die ganze Zeit funktioniert, jedoch seitdem ich das Kontakt-Formular auf der Seite mit eingebracht habe nicht mehr (weiß jedoch nicht was das eine mit dem anderen zu tun haben soll).
Nachfolgend poste ich euch nochmal den aktuellen Code, es wäre schön, wenn ich mir nochmal einen Tipp geben könntet - Danke schonmal im Vorraus!
Nachfolgend die CSS-Datei:
body
{
background-color: #f2f2f2;
text-align: center;
}
h2,h3,h4,h5,h6,div,p,body,html,input,button {
font: normal 12px Helvetica,Verdana,Arial
}
h1 {
font: normal 14px Helvetica,Verdana,Arial;
font-weight: bold;
}
img.block {
display:block;
}
div, img {
margin:0;
padding:0;
border:0;
}
div#container {
width:939px;
text-align:left;
margin:0px auto;
border:1px solid silver;
background: url(../fileadmin/images/background_cad.gif) center repeat-y;
}
div#top {
font: bold 10px Verdana,Arial;
clear:both;
text-align:right;
color:#FFFFFF;
padding:1px;
padding-right:10px;
background-image: url(images/background_top.jpg);
}
div#top a {
text-decoration: none;
color:white;
}
div#top_down {
font: bold 15px Verdana,Arial;
background-color: #d9dadc;
color: #d9dadc;
}
div#header { background-color:white; }
div#links {
float:left;
width:150px;
padding-top:0px;
padding-bottom:0px;
margin-left: 30px;
margin-top: 0px;
}
div#links a{
text-decoration: none;
}
div#center {
margin-left:190px;
width:740px;
}
.float-left {
float:left;
}
div#footer {
font: normal 9px Helvetica,Verdana,Arial;
clear:both;
background-color:#d9dadc;
padding:10px;
}
label {
width: 6em;
float: left;
text-align: right;
margin-right: 0.5em;
display: block
}
.submit input {
margin-left: 20em;
color: #000;
background: #ffffff;
border: 2px outset #d7b9c9
}
a:link {color:#000000}
a:visited {color:#000000}
a:hover {color:#FF0000}
a:active {}
a:focus {}
MenueACT {
font-style: italic;
}
Hier der Typoscript-Code:
page = PAGE
page {
#Allgemeine Seiteneigenschaften setzen
bodyTag = <body>
#CSS-Datei einfügen
includeCSS{
screen = fileadmin/stylez.css
screen.title = display
screen.media = screen
}
#Die Designvorlage integrieren
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/vorlage.html
10.workOnSubpart = DOKUMENT
10.marks {
#Den Trailer einlesen
TRAILER = IMAGE
TRAILER.file = fileadmin/images/header.jpg
#Das Textmenü links erstellen
MENUE_LINKS = HMENU
MENUE_LINKS {
special = directory
special.value = 1
1 = TMENU
1.NO = 1
1.NO {
linkWrap = <br><strong>|</strong></br>
}
1.ACT < .1.NO
1.ACT {
ATagParams = class="MenueACT"
}
2 < .1
2.NO {
linkWrap = <br>|</br>
}
2.ACT {
linkWrap = <br>|</br>
}
}
#Inhalte ausgeben
INHALT = CONTENT
INHALT {
table = tt_content
}
}
}