---
title: "tt_content und <p style=\""
url: "https://www.typo3.net/d/24441-tt-content-und-p-style"
source: "typo3.net"
tags: ["Allgemein","Frage","HTML & CSS"]
created: "2005-05-04"
last_reply: "2005-05-04"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# tt_content und <p style="

Allgemein · 2 Antworten · gestartet 2005-05-04

## Eröffnungsbeitrag

**Backdraft007** · 2005-05-04 · [Beitrag #1](https://www.typo3.net/d/24441-tt-content-und-p-style/1)

Halli hallo,

habe mir nen kleines Template gebastelt mit CSS.

in meinem CSS gebe ich z.B. an

```html
p {
	color : #000000;
	margin-top : 5px;
	padding-bottom : 10px;
	margin-bottom : 0px;
	margin-left : 10px;
	margin-right : 10px;
	font-size : 11px;
	font-family : Tahoma,Verdana,Arial;
}
```

Was macht Typo daraus?

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

Wieso?`Ich finds net.

## Antworten

### [#2](https://www.typo3.net/d/24441-tt-content-und-p-style/2) · maik · 2005-05-04

Pack das mal in das SETUP-Feld deines Templates:

```typoscript
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes {
  P.style=
  PRE.style=;
}
```

Dann wirst du das Style im P-Tag los und dein CSS funktioniert wie gewünscht.

### [#3](https://www.typo3.net/d/24441-tt-content-und-p-style/3) · Backdraft007 · 2005-05-04

Jo das wars. Thx

---

Quelle: „tt_content und <p style="“, typo3.net, https://www.typo3.net/d/24441-tt-content-und-p-style
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
