Treehouse: 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:

    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:

    # 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:

    # 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.