Zum Inhalt springen

css wird nicht erkannt

Erstellt am 13. November 2005 · 4 Antworten · letzte Antwort am 13. November 2005

Tags: Frage

suparichi ·

hallo.

ich bin sicher schon der 100000 der diese frage stellt, aber eines der ersten Probleme die ich hatte, ist dass das
CSS nicht erkannt wird. Ich hab leider keine Ahnung woran das
liegen kann, bin alles auf Tippfehler durchgegangen,
habe aber nichts gefunden.

So schaut meine stlye.CSS-Datei aus:

body,
html {
margin: 0px;
padding: 0px;
}

.statisch {
font-family: verdana, arial, helvetica, sans-serif;
color: #FFFFFF;
font-weight: bold;
font-size: 10px;
text-decoration: none;
padding-top: 4px;
}
.
.
.

So ist es in der vorlage2.HTML-Datei eingebunden:

<html>

<head>
<title>Domendos Homepage</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<link rel="stylesheet" type="text/css"
href="fileadmin/domendos/style.css" />
</head>

<body link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
<!-- ###DOKUMENT### begin -->
.
.
.

Und im typoscript-code:

stylesheet = fileadmin/domendos/style.css

Das ganze liegt in fileadmin/domendos

es sollte doch alles stimmen oder?

danke für die hilfe!!!!

Norman2k ·

Du zeigst ein bißchen wenig von deinem TS. Wenn du wirklich nur "stylesheet = fileadmin/domendos/style.css" geschrieben hast ohne "page" davor, kann es nicht funtionieren.

Probier es mal so:

page.includeCSS.file1 = fileadmin/domendos/style.css

Norman

suparichi ·

page = PAGE
page {
typeNum = 0
# Allgemeine Seiteneigenschaften setzen
bodyTag = <body bgcolor="#FFFFFF" topmargin="0" leftmargin="0">
meta.AUTHOR = Richard Schermann
meta.DESCRIPTION = Domendos Homepage
stylesheet = fileadmin/domendos/style.css
bgImg = fileadmin/domendos/domendos3.gif

ja sorry, aber das page davor is eh.
und das mit dem includeCSS hat leider auch nicht funktioniert
ich habs ohne page davor innerhalb der klammern probiert und mit page außerhalb der klammern

suparichi ·

<style type="text/css">
/*<![CDATA[*/
<!--
/* default styles for extension "tx_mininews_pi1" */
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-title { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser { margin-bottom:15px; }
.tx-mininews-pi1 .tx-mininews-pi1-fp_listrow P.tx-mininews-pi1-fp_listrowField-title { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-fp_listrow P.tx-mininews-pi1-fp_listrowField-teaser { margin-top:0px; margin-bottom:10px; }
.tx-mininews-pi1 .tx-mininews-pi1-singleView P.tx-mininews-pi1-singleViewField-teaser { font-style:italic; margin-top:5px; margin-bottom:10px; }
.tx-mininews-pi1 .tx-mininews-pi1-browsebox P SPAN.tx-mininews-pi1-browsebox-strong { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser A { color:black; text-decoration:none; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser A:hover { color:black; text-decoration:none; }
-->
/*]]>*/
</style>
<link rel="stylesheet" href="fileadmin/domendos/style.css" />
<link rel="stylesheet" href="fileadmin/domendos/style.css" />

keine ahnung wieso er das doppelt verlinkt aber ich glaub es müsste ja trotzdem gehn