#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    273
    Rep Power
    16

    Question Tables or Not Tables?


    This seems like a fairly simple question to ask but i just don't have a conclusive answer on it.

    I want to build a website, that primarily will be a web based form. I am lead to believe that tables are not a good was to go to keep it all together but i just get it ... if i don't use tables, then what do it use to keep some sort of structure in the form.
    Originally Posted by TheJim01
    Firefox is actually a derivation of the Mozilla browser, which was launched by Netscape as an Open Source version of their Navigator browser. So FF and Netscape are like distant cousins, and IE is the weird guy down the street.
  2. #2
  3. Lord of the Dance
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Oct 2003
    Posts
    4,204
    Rep Power
    2012
    Take a look at Fieldsets and Legends.

    For further customization, you have to look into CSS.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    273
    Rep Power
    16
    Originally Posted by MrFujin
    Take a look at Fieldsets and Legends.

    For further customization, you have to look into CSS.
    Sweet, looks good. Just one more thing though, is it possible to use a number of fieldsets side by side, of the same form?
    Originally Posted by TheJim01
    Firefox is actually a derivation of the Mozilla browser, which was launched by Netscape as an Open Source version of their Navigator browser. So FF and Netscape are like distant cousins, and IE is the weird guy down the street.
  6. #4
  7. Lord of the Dance
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Oct 2003
    Posts
    4,204
    Rep Power
    2012
    take a look at this page:
    http://www.websiteoptimization.com/speed/tweak/forms/
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Posts
    39
    Rep Power
    10
    As a general rule, tables are for tabular data, not design. Tables are great, used for what they were intended for.
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2011
    Location
    India
    Posts
    2
    Rep Power
    0
    Better use <div> tag instead of tables for the page layout. But, both are almost the same.
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2010
    Posts
    18
    Rep Power
    0
    Originally Posted by kevin.learner
    Better use <div> tag instead of tables for the page layout. But, both are almost the same.
    He is not talking really about the page layout. He is just talking about keeping the fields together in a form. I believe <div> is not good in this case. He better uses fieldsets.
  14. #8
  15. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2011
    Posts
    13
    Rep Power
    0
    Hi!
    If you are not comfortable with Tables use <div> </div> tag.<div> is the best way to build a site.
  16. #9
  17. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2011
    Posts
    25
    Rep Power
    0
    Table less design are becoming more popular now a days.Table makes the code very lengthy.It also takes more space.So, it increases the loading time of the site.So, DIV tags are replacing the use of table in the web designing.The coding is also very simple.So, it is more preferred.
  18. #10
  19. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2011
    Posts
    11
    Rep Power
    0
    tables are fantastic
    much better than frames
  20. #11
  21. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2011
    Location
    La Palma, CA
    Posts
    3
    Rep Power
    0
    Tables are great for displaying and sorting data (like an excel spreadsheet almost). I find that they become bothersome when you try and use them for layout design because like others have said, the code becomes lengthy and hard to organize. I also find that when just using the fieldset tags, there have been small issues with ie7 (unheard of right?). I've been putting a lot of my form stuff inside of li tags, but have also been trying other methods to become more efficient.
  22. #12
  23. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2011
    Posts
    38
    Rep Power
    8
    Use <div> tag instead of tags...

    Comments on this post

    • MrFujin disagrees : (0) Please proof-read before you post. What you wrote have no meaning.
  24. #13
  25. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2011
    Location
    Rocklin, Sacramento, CA, USA
    Posts
    12
    Rep Power
    0

    Ref:Tables or Not Tables?


    Originally Posted by kevin.learner
    Better use <div> tag instead of tables for the page layout. But, both are almost the same.
    I really agree with you. Use of <div> solves many problems instead of table. Better positioning and browser issues.
  26. #14
  27. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2011
    Location
    Liverpool
    Posts
    23
    Rep Power
    0
    Hi,

    Tables aren't great for making the layout of a whole website, ie:


    ------------------------------------------
    | SIDEBAR | CONTENT |
    ------------------------------------------


    Its down to search engine optimisation. However, I don't see anything wrong with having a form within a table as a search engine would have no interest in this. If I were you I'd make the site from CSS and HTML then put the table with the form inside the div's. That seems to be what everyone does, including myself and I've not had any problems.

    Hope this is helpful!

    Regards,
  28. #15
  29. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Posts
    3
    Rep Power
    0
    <div> is the optimal way.With tables you will have som much coding.

IMN logo majestic logo threadwatch logo seochat tools logo