Zum Inhalt springen

Formulare formatieren - defektes CSS styled content

Erstellt am 7. September 2006 · 2 Antworten · letzte Antwort am 6. Dezember 2007

Tags: Inhaltselemente, HTML & CSS, Frage

FreeBatman ·

Hallo,

habe 4.0 Version und laut Backend auch Extension "CSS styled content" am laufen. Im Quellcode sind aber keine Verweise wie z.b. "csc-mailform-field" zu finden so dass meine CSS Angaben auch nicht greifen. Direkt Eingreifen ins "static" möcht ich mich nicht antun wenn es doch auch eleganter geht.

Bei Auswahl von "CSS styled content" gibt es unten noch
folgende Auflistung. Kann es die sein?!

A difference between the originally installed version and the current was detected!

Modified files:
ext_conf_template.txt
ext_localconf.php
ext_php_api.dat
ext_tables.php
pageTSconfig.txt
CVS/Entries
CVS/Repository
CVS/Root
doc/CVS/Entries
doc/CVS/Repository
doc/CVS/Root
pi1/class.tx_cssstyledcontent_pi1.php
pi1/locallang.php
pi1/CVS/Entries
pi1/CVS/Repository
pi1/CVS/Root
static/constants.txt
static/setup.txt
static/CVS/Entries
static/CVS/Repository
static/CVS/Root
css/readme.txt
css/CVS/Entries
css/CVS/Repository
css/CVS/Root
css/img/CVS/Entries
css/img/CVS/Repository
css/img/CVS/Root
flexform_ds.xml
locallang_db.xml
pi1/locallang.xml

FreeBatman ·

sorry . war etwas im stress ..
Hab jetzt extra nochmal nachgeschaut. Habe das Problem nicht direkt
lösen können. Ich habe deswegen folgenden "Workaround" gemacht der
dir hoffentlich hilft.

Typo-Script:

# Formular für Webseiten-Benutzer
tt_content.mailform.20.layout = <tr><td class="formlabel">###LABEL###</td><td><img src="clear.gif" width="5" alt="" /></td><td>###FIELD###</td></tr>

und anschließend in meinem CSS z.B. folgende Einträge gemacht:

.formlabel {
font-family:verdana, arial, helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
float: left;
}

input {
font: Verdana, Arial, Helvetica, Sans-Serif;
border: 1px #cccccc dotted;
}

textarea {
font: Verdana, Arial, Helvetica, Sans-Serif;
padding: 4px;
font-size: 12px;
}