[TYPO3-german] mailform formatieren

Gerhard Rasi rasi at trasi.ch
Mon Apr 10 18:10:26 CEST 2006


so gehts:
.csc-mailform {
position: relative;
display:block;
width:90%;
border:1px solid #3399cc;
PADDING:5px;
font-size:11px; color:#666666;
}

.csc-mailform-field {
background-color:#ffffff;
}

label {
position: relative;
display:block;
width: 100px;
float: left;
left:10px;
text-align: right;
background: #ffffff;
PADDING:2px;
margin:2px;
}

input, textarea {
position: relative;
width:250px;
left:20px;
background: #ffffff;
border:1px solid #3399cc;
PADDING:2px;
margin:2px;
}

.csc-mailform-check {
border: none;
width:auto;
left: 20px;
border:1px solid #3399cc;
PADDING:2px;
margin: 2 0 2 0;
}

button {
clear: left;
position: relative;
display:block;
left:128px;
width:auto;
background: #F2F5F5;
}

.csc-mailform-submit {
clear: left;
position: relative;
display:block;
left:128px;
width:auto;
background: #F2F5F5;
}

Gerhard Rasi
Gemshalde 26
CH-8200 Schaffhausen
Email rasi at rasi.ch
http://www.rasi.ch



"Philipp Holdener" <philipp at holdener.ch> schrieb im Newsbeitrag 
news:mailman.1.1144663133.26831.typo3-german at lists.netfielders.de...
> Hallo Gerhard
>
> Geht ganz einfach über css
>
> label, input, select {
>  display: block;
>  float: left;
>  width: 100px; /
>  margin-bottom: 4px;
>  margin-top: 4px;
> }
>
>
> Gruss
> Philipp
>
>
>> hallo
>>
>> wie kann ich die input und textfelder hinter dem label formatieren also 
>> einrücken
>> da fehlen doch klassen, oder kann ich neue per ts zuweisen?
>>
>> vielen dank im voraus für hilfe
>> gerhard
>>
>
> 





More information about the TYPO3-german mailing list