Search code examples
cssformscss-tables

CSS forms instead of tables 2011


I gave up on using CSS for form styling when I hit snags like requiring 3 textboxes adjacent to one another (like a phone number) or a dropdown list next to a textbox. I just couldn't come up with a reliable way to style it without good ol' TABLES.

I'm thinking about going back to CSS for form styling; I don't know:

  1. Whether it's more usable to have captions on top or on the left of the field.
  2. How to style the things so they place nicely even with a couple of adjacent form elements.

References? Is this still a pipe dream?


Solution

  • There are a couple of CSS templates designed specifically for laying out forms.

    I hope this helps point you in a productive and awesome direction. Take care.