Clanintern Clanintern Clanintern

Forum

Öffentliche Foren
FORUM: Spiele & Computer THEMA: Typo3: css wird von css überschrieben?
AUTOR BEITRAG
B4ST4RD

RANG Deckschrubber

#1 - 29.09 17:21

code:

<!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 [url=http://typo3.org/]http://typo3.org/[/url]
-->

<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" "[url=http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/url]
<html xmlns="[url=http://www.w3.org/1999/xhtml">]http://www.w3.org/1999/xhtml">[/url]
<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
code:

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
code:

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.
code:

<!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 [url=http://typo3.org/]http://typo3.org/[/url]
-->

<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 Com!
cheers
B4ST4RD

RANG Deckschrubber

#2 - 30.09 14:47

hat sich erledigt

es passt alles, das css wirkt, nur werden die hintergrundbilder von divs nicht angezeigt. eventuell wer ahnung woraus das resultieren könnte?


/edit kann zu, ich habs
horst

RANG Prophet of Clanintern

#3 - 30.09 17:08

Was war das Problem / die Lösung? Ist evtl. für andere ganz nützlich...