Zum Inhalt springen

contenttyp emailformular: Elemente in Tabelle darstellen

Erstellt am 10. April 2007 · 2 Antworten · letzte Antwort am 10. April 2007

Tags: HTML & CSS, Frage

micho ·

Hallo,

ich habe ein contentelement vom typ emailformular erzeugt.
Die Element werden nicht "bündig" angezeigt.

Kann ich die einzelnen elemente z.B. in einer Tabelle renderen lassen oder gibt es eine andere Möglichkeit, dass so ein Formular gut aussieh?

einpraegsam.​net ·
micho schrieb

Die Element werden nicht "bündig" angezeigt.

Dann per CSS vernünftig einstellen - Beispiel CSS für Mailformular mit css_styled_content:

/* Mail Formular */
fieldset.csc-mailform {
	border: 1px solid #A5ACB2;
	background-image: url(../img/handy.jpg);
	background-repeat: no-repeat;
	background-position: 90% 60%;
	padding: 10px;
}
div.box_links fieldset.csc-mailform {
	border: none;
	background-image: none;
	padding: 0;
}
.csc-mailform-field label {
	width: 120px;
	display: block;
	float: left;
	font-weight: bold;
}
.csc-mailform-field {
	margin-top: 5px;
}
.csc-mailform-submit {
	margin: 20px 0px;
	background-color: #B42D2D;
	color: white;
	font-weight: bold;
	border: 1px solid #A5ACB2;
}
.csc-mailform-field input {	border: 1px solid #A5ACB2; padding: 2px; }
.csc-mailform-field textarea { border: 1px solid #A5ACB2; }
input:focus, textarea:focus {
	background-color: #C3C3C3;
	color: #B42D2D;
}