Formular erstellen
:: HTML
Seite 1 von 1
Formular erstellen
HTML:
CSS:
<fieldset>
<legend>Kontaktdaten</legend>
<label for="anrede">
Anrede
<select id="anrede" name="anrede">
<option selected="selected">Herr</option>
<option>Frau</option>
<option>Dr</option>
</select></label>
<br />
<label for="vorname">
Vorname
<input id="vorname" name="vorname" value="Vorname" onfocus="this.value=''" type="text" />
</label>
<br />
<label for="Nachname">
Nachname
<input id="Nachname" name="Nachname" value="Nachname" onfocus="this.value=''" type="text" />
</label>
</fieldset>
CSS:
body { font-family: Arial;
color: White;
}
.titel { font-size: 20pt;
font-weight: bold;
color: #ffffff;
}
legend { color:White;
margin: 5px;
font-size: 20px;
}
fieldset { width:300px;
height: 200px;
background-color: gray;
padding: 10px;
}
label
{
clear: left;
float: left;
display: block;
width: 8em;
}
input
{
position: relative;
top: -1em;
left: 6em;
display: block;
padding: 2px;
}
select
{
position: relative;
top: -1em;
left: 6em;
display: block;
padding: 2px;
}
Ähnliche Themen
» Sessionen erstellen
» Masterpage erstellen
» Abfragen erstellen
» Sicht erstellen
» Neue Datenbank erstellen
» Masterpage erstellen
» Abfragen erstellen
» Sicht erstellen
» Neue Datenbank erstellen
:: HTML
Seite 1 von 1
Befugnisse in diesem Forum
Sie können in diesem Forum nicht antworten
|
|