Liebe Typo3 Freunde
Wie kann ich im Typo Script den Bildpfad angeben, damit der url Pfad für das Background images in der CSS Datei überschrieben wird?
Liebe Grüsse
Stephan
------------------------------------------------------
Code:
CSS Datei:
BODY {
margin: 0px 0px 0px 0px;
}
#zentriert {
position: absolute;
width: 640px;
height: 443px;
left: 50%;
top: 50%;
margin-left: -320px;
margin-top: -222px;
}
/* This is the background image */
#bg {
width: 640px;
height: 443px;
background: url(saentismain.jpg) no-repeat;
}
/* This is the menu area which is positioned over the background image */
#nav {
width: 160px;
height: 443px;
margin-left: 90px;
background-color: #FFCC99;
filter:alpha(opacity=50);
opacity: 0.5;
-moz-opacity:0.5;
} -------------------------------------------------
HTML Datei:
HTML-Code:
<div id="zentriert"> <div id="bg"> <div id="nav"></div> </div> </div>
-------------------------------------------------
Template:
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
| page = PAGE page { typeNum = 0 bodyTag = <body bgcolor="#FFFFFF"> meta.AUTHOR = Stephan Meier meta.DESCRIPTION = photography from swiss mountains stylesheet = fileadmin/style.css 10 = TEMPLATE 10.template = FILE 10.template.file = fileadmin/main.htm } |
---------------------------------------------------