Einzelnen Beitrag anzeigen
  #1  
Alt 29.09.07, 16:43
elRichi elRichi ist offline
Forum Newbie
 
Registriert seit: 05.09.07
Alter: 24
Beiträge: 22

eigenes CSS wird von unbekanntem CSS überschrieben


Zitat:
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!--
This website is powered by TYPO3 - inspiring people to share!
TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at TYPO3 CMS: typo3.com and http://typo3.org/
-->

<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_1cffeed18b.css" />
<link rel="stylesheet" type="text/css" href="fileadmin/style.css" />
<title>Community Foundation Rhine Valley: root</title>
<meta name="generator" content="TYPO3 4.0 CMS" />
<script type="text/javascript" src="typo3temp/javascript_79af1da1ab.js"></script>


</head>
<body>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
<link href="fileadmin/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!-- ###DOCUMENT### begin -->
<div id="seite">
<div id="head"><img src="fileadmin/images/head.jpg" /></div>
<div id="banner"><img src="fileadmin/images/rhine.jpg" /></div>
<div id="navi"><img src="fileadmin/images/spacer.gif" height="20px"/>###NAVI###</div>
<div id="bauch">
<div id="submenu">###SUBMENU###</div>
<div id="content">###CONTENT###</div>
</div>
<div id="foot"></div>
</div>
<!-- ###DOCUMENT### end -->
</body>
</html>

</body>
</html>
Das ist der Quellcode der seite...

Hier mit dem template
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
seite = PAGE
seite {
typeNum = 0
bodyTag = <body>
stylesheet = fileadmin/style.css
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/vorlage.html
}
Warum geschieht das?
Die doppelten body tags sind klar weil noch das workOnSubpart fehlt, wenn ich jedoch
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
seite = PAGE
seite {
typeNum = 0
bodyTag = <body>
stylesheet = fileadmin/style.css
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/vorlage.html
10.workOnSubpart = DOKUMENT
}
also workOnSubpart hinzufüge verändert sich die Seite in weißes Nichts.
Im Quellcode tritt folgendes auf und zwar dass meine css mit einer anderen css überschrieben wird.
Zitat:
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!--
This website is powered by TYPO3 - inspiring people to share!
TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at TYPO3 CMS: typo3.com and http://typo3.org/
-->

<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_1cffeed18b.css" />
<link rel="stylesheet" type="text/css" href="fileadmin/style.css" />
<title>Community Foundation Rhine Valley: root</title>
<meta name="generator" content="TYPO3 4.0 CMS" />
<script type="text/javascript" src="typo3temp/javascript_79af1da1ab.js"></script>


</head>
<body>

</body>
</html>
Ich kanns drehn wie ich will, ich krieg das css nicht mit der Seite verlinkt, und das seit tagen :sad:
außerdem bleibt das </body> am Ende doppelt ... und am Anfang steht keines ???!!!
Irgendwelche Lösungsansätze?
Würdet mich sehr glücklich machen

Nette Grüße an die Typo3 Com!
cheers



//EDIT von MistaD
Code in die passenden Container geschubst! HTML habe ich wegen den Hervorhebungen so belassen, beim nächsten mal dran denken.

Geändert von elRichi (30.09.07 um 15:56 Uhr).
Mit Zitat antworten