Thiết kế form theo tableless style
HTML tạo form không sử dụng table: |
CSS Code:
label{ float: left; width: 120px; font-weight: bold; } input, textarea{ width: 180px; margin-bottom: 5px; } textarea{ width: 250px; height: 150px; } .boxes{ width: 1em; } #submitbutton{ margin-left: 120px; margin-top: 5px; width: 90px; } br{ clear: left; } input:focus, textarea:focus{ background-color: lightyellow; }
Theo phpbasic