collected css snippets
Stylized Web hat die wichtigsten sinnvollen CSS Hacks und gute WordPress-Tips
1. Formulare ohne Tabellen
<form>
<label for=”name”>Name</label>
<input id=“name“ name=”name”><br>
<label for=”plz”>PLZ</label>
<input id=“plz“ name=”plz”><br>
<label for=”stadt”>Stadt</label>
<input id=“stadt“ name=”stadt”><br>
</form>
label, input {
display: block;
width: 500px;
float: left;
margin-bottom: 2em;
}
label {
text-align: right;
width: 200px;
padding-right: 20px;
}
br {
clear: left;
}
Fun with forms: