SA Developer .NET

Welcome to SA Developer .NET Sign in | Join | Help
in Search

CSS Layout for Input Controls

Last post 07-29-2008, 12:17 by fridgi. 1 replies.
Sort Posts: Previous Next
  •  07-29-2008, 10:36 13748

    CSS Layout for Input Controls

    I'm currently using a table with four columns to lay out two columns of input fields, as below.  Where do I start if I want to stop abusing the table element and achieve the same thing with CSS, or some other layout solution?


    colA - colB - colC - colD
    lbl1 : txt1 - lbl2 : txt2
    lbl3 : txt3 - lbl4 : txt4
    Unscrambling Eggs: Decompiling ASP.NET
  •  07-29-2008, 12:17 13749 in reply to 13748

    Re: CSS Layout for Input Controls

    ProfK:
    I'm currently using a table with four columns to lay out two columns of input fields, as below.  Where do I start if I want to stop abusing the table element and achieve the same thing with CSS, or some other layout solution?

    colA - colB - colC - colD
    lbl1 : txt1 - lbl2 : txt2
    lbl3 : txt3 - lbl4 : txt4

    We use unordered lists as a table replacement. They can be nested and render nicely across all browsers... Lots of css involved to get the same affect though.

    <ul><li><li></ul>


    SA Developer .Net Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems