---
title: "content-marker wird nicht ersetzt"
url: "https://www.typo3.net/d/58980-content-marker-wird-nicht-ersetzt"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2007-03-06"
last_reply: "2007-03-06"
replies: 4
solved: false
page: 1
pages: 1
lang: "de"
---

# content-marker wird nicht ersetzt

Allgemein · 4 Antworten · gestartet 2007-03-06

## Eröffnungsbeitrag

**Faircamion** · 2007-03-06 · [Beitrag #1](https://www.typo3.net/d/58980-content-marker-wird-nicht-ersetzt/1)

Hallo,

Ich habe heute zum ersten mal versucht, ein eigenes Template zu erstellen, welches nicht auf tabellan sondern auf containern basiert.

Ich bin jetzt so weit, das ich ein Template habe, eine css datei und ein wenig TS. Aber es ist halt das erste mal, das ich ne css-Datei schreibe, was man vermutlich auch sieht.

Nun wird der content-marker nicht ersetzt.

Ich weis nicht wo der Fehler ist:
Die seite: <http://p27752.typo3server.info/>
Das Template:

```php
<!--###document###-->
<div id="all">
<div id="topnav">###topnav###</div>
<div id="nav">###nav###</div>
<div id="head">###head###</div>
<div id="content">###content###</div>
<div id="right">###right###</div>
<div id="footer">###footer###</div>
<!--###document###-->
```

Die CSS-Datei:

```php
#all
{
position:absolute; 
width:974px; 
height:718px; 
z-index:1; 
border:1px solid #000000; 
left: 25px; 
top: 25px;
}

#topnav
{
position:absolute; 
width:972px; 
height:25px; 
z-index:7; 
border:1px solid #000000; 
top: 75px;
}

#nav
{
position:absolute; 
width:150px; 
height:593px; 
z-index:2; 
border: 1px solid #000000; 
top: 102px;
}

#head
{
position:absolute; 
width:972px; 
height:100px; 
z-index:3; 
border: 1px solid #000000; 
}

#content
{
position:absolute; 
width:670px; 
height:593px; 
z-index:4; 
border: 1px solid #000000; 
left: 152px; 
top: 102px;
}

#right
{
position:relative;
float:right;
width:150px; 
height:593px; 
z-index:5; 
border: 1px solid #000000; 
top: 102px;
}

#footer
{
position:absolute; 
width:972px; 
height:20px; 
z-index:6; 
border: 1px solid #000000; 
top: 696px;
}
```

Typoscript:

```typoscript
page = PAGE
page {
   typeNum = 0
   stylesheet = fileadmin/css/style.css
   20 = TEMPLATE
   20.template = FILE
   20.template.file = fileadmin/template/template.html
   20.workOnSubpart = document
   
   10.marks {
      content = CONTENT
      content {
         table = tt_content
      }
   }   
}

tt_content = COA
tt_content {
   10 = TEXT
   10 {
      field = header
      wrap = <h1>|</h1><br />
   }
   
   20 = TEXT
   20 {
      field = bodytext
      wrap = <p>|</p>
   }
```

## Antworten

### [#2](https://www.typo3.net/d/58980-content-marker-wird-nicht-ersetzt/2) · einpraegsam.​net · 2007-03-06

Glaubst du nicht, dass es wichtiger wäre dein TS zu posten, anstatt des CSS, wenn die Marker nicht ersetzt werden?

### [#3](https://www.typo3.net/d/58980-content-marker-wird-nicht-ersetzt/3) · Faircamion · 2007-03-06

ääähm, hast du dir alles durchgelesen?

oben steht der code vom Template, dann das css und am ende das TS!

Oder fehlt sonst noch was?

Ach ja,
css styled content ist auch installiert

### [#4](https://www.typo3.net/d/58980-content-marker-wird-nicht-ersetzt/4) · kreativsteffi · 2007-03-06

ich glaub da muss das stehen:

```typoscript
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template/template.html
10.workOnSubpart = document

10.marks {
```

aber ich bin auch noch anfänger
lg steffi

p.s. du solltest dein container "all" noch schließen, sonst wäre es inkorrektes html

### [#5](https://www.typo3.net/d/58980-content-marker-wird-nicht-ersetzt/5) · Faircamion · 2007-03-06

Na klar, danke!

Warum schreib ich da denn 20?

Danke für den Tip!

---

Quelle: „content-marker wird nicht ersetzt“, typo3.net, https://www.typo3.net/d/58980-content-marker-wird-nicht-ersetzt
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
