---
title: "formularanzeige trotz CSS-stylied content"
url: "https://www.typo3.net/d/3147-formularanzeige-trotz-css-stylied-content"
source: "typo3.net"
tags: ["Extensions","Frage","Inhaltselemente"]
created: "2003-05-27"
last_reply: "2004-01-21"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# formularanzeige trotz CSS-stylied content

Extensions · 2 Antworten · gestartet 2003-05-27

## Eröffnungsbeitrag

**acid97** · 2003-05-27 · [Beitrag #1](https://www.typo3.net/d/3147-formularanzeige-trotz-css-stylied-content/1)

hi cracks,

wieder mal eine frage. hab in mehreren threads gelesen wie leute das irgendwie getrickst haben .. konnte jedoch nicht nachvollziehen wie
ich mein formular angezeigt griege wenn ich css styled content (wie in modern template building eben) eingefügt habe .. ansonsten müsste
ich das ganze template neu markern. gibts da keinen der das
hingekriegt hat und mir den weg zeigen kann?

## Antworten

### [#2](https://www.typo3.net/d/3147-formularanzeige-trotz-css-stylied-content/2) · Patrick S.​ · 2004-01-12

*hochhol*

### [#3](https://www.typo3.net/d/3147-formularanzeige-trotz-css-stylied-content/3) · saruman · 2004-01-21

Open  root	ypo3extcss_styled_contentstaticsetup.txt and go to line
number 169 and add this code:

----------------------------
# ******************
# CType: mailform (Added: Ruud Kamphuis, 13-10-03)
# ******************
styles.content.mailform = FORM
styles.content.mailform {
layout = <tr><td
align=right><b>###LABEL###</b></td><td></td><td>###FIELD###</td></tr>
labelWrap.wrap =
fieldWrap.wrap =
commentWrap.wrap =
radioWrap.wrap =
REQ = 1
REQ.labelWrap.wrap =
COMMENT.layout = <tr><td colspan=3 align=center>###LABEL###</td></tr>
stdWrap.wrap = <table border=0 width='100%' cellspacing=0 cellpadding=2> |
</table>
target =
goodMess =
badMess =
redirect.field = pages
redirect.listNum = 0
recipient.field = subheader
data.field = bodytext
# type.field = form_type
type >
locationData = 1
}
----------------------------

Save the file and go to your TEMPLATE SETUP CODE and add this code at the
top:

----------------------------
tt_content.mailform = COA
tt_content.mailform {
  10 = < lib.stdheader
  20 < styles.content.mailform
  20.stdWrap.editIcons = tt_content: bodytext,pages,subheader
  20.stdWrap.editIcons.iconTitle=Edit mailform element
}
----------------------------

Save it and have fun

---

Quelle: „formularanzeige trotz CSS-stylied content“, typo3.net, https://www.typo3.net/d/3147-formularanzeige-trotz-css-stylied-content
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
