---
title: "Frage zu von Typo erzeugten Tags"
url: "https://www.typo3.net/d/59066-frage-zu-von-typo-erzeugten-tags"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage","Inhaltselemente"]
created: "2007-03-08"
last_reply: "2007-03-08"
replies: 7
solved: false
page: 1
pages: 1
lang: "de"
---

# Frage zu von Typo erzeugten Tags

TYPO3 › TypoScript · 7 Antworten · gestartet 2007-03-08

## Eröffnungsbeitrag

**stetabar** · 2007-03-08 · [Beitrag #1](https://www.typo3.net/d/59066-frage-zu-von-typo-erzeugten-tags/1)

ich habe ein problem.
im typo werden immer diese zeilen

```html
<p style="margin:0 0 0 0;">
```

automatisch generiert.
außerdem noch dieses

```html
<a id="c3"></a>
```

was ich garnicht nachvollziehen kann...

ich habe jetzt schon länger gesucht und habe mein Template um diese Zeilen erweitert:

```typoscript
#no wrapping of RTE lines
tt_content.text.20.parseFunc {
nonTypoTagStdWrap.encapsLines.nonWrappedTag >
nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = | </br>
}
```

aber entweder bin ich völlig falsch unterwegs, oder ich muss noch was anderes vorher machen?!

wär super, wenn mir da mal jemand unter die arme greifen könnte um diese tags weg zu bekommen...

## Antworten

### [#2](https://www.typo3.net/d/59066-frage-zu-von-typo-erzeugten-tags/2) · einpraegsam.​net · 2007-03-08

a) nimm css_styled_content, dann hast du die unsauberen Tags weg
b) das ist ein Anker, damit du an jedes Contentelement springen kannst (ist auch bei einer Abschnittsübersicht wichtig)

### [#3](https://www.typo3.net/d/59066-frage-zu-von-typo-erzeugten-tags/3) · stetabar · 2007-03-08

aber es passiert nichts, selbst wenn ich das css_styled_content komplett raus nehme...

### [#4](https://www.typo3.net/d/59066-frage-zu-von-typo-erzeugten-tags/4) · just2b · 2007-03-08

> **stetabar schrieb:**
>
> aber es passiert nichts, selbst wenn ich das css_styled_content komplett raus nehme...

nein, das übernimmt rein das rendering, also wie die Inhalte **dargestellt** werden.

georg

### [#5](https://www.typo3.net/d/59066-frage-zu-von-typo-erzeugten-tags/5) · stetabar · 2007-03-08

mir werden unter anderem auch diese beiden zeilen im header erzeugt, die ich nicht brauche...

```html
<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_f9345f3d01.css" />
	<script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script>
```

sind die notwendig, wenn man n tmenu verwendet und tt_news und tt_calender installiert hat?
bei ner anderen installation mit typo3 3.8 hatte ich da keine probleme...

### [#6](https://www.typo3.net/d/59066-frage-zu-von-typo-erzeugten-tags/6) · just2b · 2007-03-08

in 3.8 hast du das ganze css/js inline gehabt, jetzt wird das meiste ausgelagert.

georg

### [#7](https://www.typo3.net/d/59066-frage-zu-von-typo-erzeugten-tags/7) · stetabar · 2007-03-08

ah ok.

was mich jetzt etwas erstaunt ist halt nur die tatsache, dass ich meine elemente durch irgendwas in meinem typo3 code nicht mehr da anzeigen lassen kann, wo sie ursprünglich hin sollten.
wenn ich das html-template inkl. css öffne und inhalt von hand vorher eingepflegt habe, stellt er alles genau so dar, wie es soll.
sobald ich von typo3 generierte inhalt im content-bereich habe, werden diese oben links in der ecke dargestellt.
daher denke ich, dass das mit den tag die von typo erzeugt werden zusammen hängt.
oder könnte es da noch andere gründe für geben?

CSS-File:

```html
//CSS-Document//
	* {
		margin:0;
		padding:0;
		}

	html, body {
		height:100%;
		}

	body {
		background-color:#000000;
		}

	#distance { 
		width:1px;
		height:50%;
		background-color:#000000;
		margin-bottom:-357px; 
		float:left;
		}

	#container {
		margin:0 auto;
		position:relative;
		text-align:left;
		height:715px;
		width:992px;
		clear:left;
		background-image:url(images/background.jpg);
		border:1px solid #333333;
		}

	#container h1 {
		font-family: Verdana;
		font-size: 10px;
		font-weight: bold;
		color: #c2c2c2;
		}
	
	#container h2 {
		font-family: Verdana;
		font-size: 11px;
		color: #c2c2c2;
		}

	#container h3 {
		font-family: Verdana;
		font-size: 11px;
		font-weight: bold;
		color: #c2c2c2;
		}

	#container p {
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		margin: 0px 15px 20px 0px;
		}

	main_text {
		overflow:auto;
		position:absolute;
		left:174px;
		top:270px;
		width:658px;
		height:310px;
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		}
	main_text a:link {
		font-family: Verdana;
		font-size: 10px;
		color: #8D281C;
		text-decoration: none;
		}

	main_text a:visited {
		font-family: Verdana;
		font-size: 10px;
		color: #8D281C;
		text-decoration: none;
		}

	main_text a:active {
		font-family: Verdana;
		font-size: 10px;
		color: #8D281C;
		text-decoration: none;
		}

	main_text a:hover {
		font-family: Verdana;
		font-size: 10px;
		color: #8D281C;
		text-decoration: none;
		}
	
	address {
		position:absolute; 
		left:742px; 
		top:720px; 
		width:250px;
		font-family: Verdana;
		font-size: 9px;
		color: #c2c2c2;
		text-align:right;
		}
	address a:link {
		font-family: Verdana;
		font-size: 9px;
		color: #8D281C;
		text-decoration: none;
		}

	address a:visited {
		font-family: Verdana;
		font-size: 9px;
		color: #8D281C;
		text-decoration: none;
		}

	address a:active {
		font-family: Verdana;
		font-size: 9px;
		color: #8D281C;
		text-decoration: none;
		}

	address a:hover {
		font-family: Verdana;
		font-size: 9px;
		color: #8D281C;
		text-decoration: none;
		}

	menu {
		position:absolute; 
		left:130px; 
		top:215px; 
		width:450px;
		height:30px;
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		text-align:left;
		}
	menu a:link {
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		text-decoration: none;
		}

	menu a:visited {
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		text-decoration: none;
		}

	menu a:active {
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		text-decoration: none;
		}

	menu a:hover {
		font-family: Verdana;
		font-size: 10px;
		color: #c2c2c2;
		text-decoration: none;
		}
```

HTML_Template

```html
<html>
<head>
<title>###TITLE_PAGE###</title>
</head>

<body>
<!-- ###DOCUMENT_BODY### begin -->
<div id="distance"></div>
<div id="container">
	<menu>
		###MENU###
		###SUBMENU###
	</menu>
	
	<main_text>
		###CONTENT###
	</main_text>
<address>###BOTTOM###</address>
</div>
<!-- ###DOCUMENT_BODY### end -->
</body>
</html>
```

### [#8](https://www.typo3.net/d/59066-frage-zu-von-typo-erzeugten-tags/8) · stetabar · 2007-03-08

so problem behoben, hab die div'S etwas verändert und dann ging es.
komischerweise haben die von typo3 generierten daten nicht funktioniert.
von hand eingetragene sachen schon.

naja, egal.
funktioniert.

vielen dank nochmal!

---

Quelle: „Frage zu von Typo erzeugten Tags“, typo3.net, https://www.typo3.net/d/59066-frage-zu-von-typo-erzeugten-tags
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
