Einzelnen Beitrag anzeigen
  #1  
Alt 13.12.05, 15:46
stephan37 stephan37 ist offline
Forum Newbie
 
Registriert seit: 13.12.05
Ort: CH-9633 Hemberg
Beiträge: 12
Blinzeln

Im Typo Script den Bildpfad angeben für die CSS Datei


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
}
---------------------------------------------------

Geändert von stephan37 (15.12.05 um 17:09 Uhr).
Mit Zitat antworten