Grow your CSS skills. Land your dream job.

Form Structure

  • # March 16, 2012 at 10:13 am

    Hey all..

    I would like to create a simple form, the structure is going to be like this image i made:
    http://i.upload3r.com/ZXfe.jpg

    the thing is i can create it simply with table,
    my question is if it’s the right way to build it with table?
    If not.. what is your suggestion? i tried to make it with divs but the spacing between the numbers and the fields won’t be the same.

    Please help, thanks ;)

    # March 16, 2012 at 10:48 am

    The link you sent doesn’t work (403 forbidden).

    # March 16, 2012 at 10:54 am

    oh, thank you for notice,
    here please: http://s17.postimage.org/s5uyprvfz/form.jpg

    # March 16, 2012 at 12:54 pm

    Tables are intended for tabular data rather than forms or layouts. However, they can be useful in fixing alignments for forms.

    Your best best is to go the semantic route and get used to it, using divs, inputs and labels.

    For example: http://jsfiddle.net/gLyzk/

    # March 16, 2012 at 4:23 pm

    Thank you that was very useful!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".