/ Published in: XHTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
-----------CSS----------------- label { width: 4em; float: left; text-align: right; margin-right: 0.5em; display: block; } .submit input { margin-left: 4.5em; } #form input:hover, #form textarea:hover{ background-color: lightyellow; } input:focus, textarea:focus{ background-color: lightyellow; } -----------Form---------------- <form action="#"> </form>
URL: http://www.webcredible.co.uk/user-friendly-resources/css/css-forms.shtml