Zum Inhalt springen

tt_content und <p style="

Erstellt am 4. Mai 2005 · 2 Antworten · letzte Antwort am 4. Mai 2005

Tags: HTML & CSS, Frage

Backdraft007 ·

Halli hallo,

habe mir nen kleines Template gebastelt mit CSS.

in meinem CSS gebe ich z.B. an

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?

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

Wieso?`Ich finds net.

maik ·

Pack das mal in das SETUP-Feld deines Templates:

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.