HTML/CSS Service

CSS Forms Designs Tips

Category: CSS, CSS3 Tutorial    |    495 views    |    Add a Comment  |   

 

Approach 1: Tables

Some would argue that form fields and their labels can be described as tabular data, and so can be slotted into a table that conveniently goes hand in hand with a grid-like presentational layout:

<table>
	<tr>
		<td><label></label></td>
		<td><input /></td>
	</tr>
	<tr>
		<td><label></label></td>
		<td><input /></td>
	</tr>
	<tr>
		<td><label></label></td>
		<td><textarea></textarea></td>
	</tr>
</table>

Some might say forms can be tabular data, some might say that this is a small pile of dingoes droppings - a cop out - hammering a cylindrical peg through a square hole. Not that I’m saying that, you understand… Read more…

Share/Save/Bookmark

 

CSS Forms Examples

Category: CSS Examples    |    589 views    |    Add a Comment  |