Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Internet & the Web (https://www.askmehelpdesk.com/forumdisplay.php?f=177)
-   -   Div Vs Table (https://www.askmehelpdesk.com/showthread.php?t=570)

  • Mar 1, 2004, 01:19 PM
    LTheobald
    Div Vs Table
    Just a quick question. I've seen a few pages on the internet about using DIV tags instead of tables. Could someone just quickly tell me what's the best to use? I could imagine DIV tags would provide you more control via CSS, but I can also see that they would be a pain in the to use.

    Basically what is more professional etc.
  • Mar 26, 2004, 10:34 AM
    coreybryant
    Div Vs Table
    Tables were really never created for web positioning / placement. They were supposed to hold tabular data. But it was / is so easy to use them for those purposes.

    DIVs are becoming more & more popular but a lot of the browsers still do not render the code properly. DIVs have a little more power than tables on some of the things that they can do so a lot of times I use them in conjunction with one another.
  • Mar 26, 2004, 10:54 AM
    LTheobald
    Div Vs Table
    Cheers Corey. That's what I needed to hear.
  • Apr 2, 2004, 08:53 PM
    retsoksirhc
    Div Vs Table
    Also, theoretically tables will make text appear aligned the same in all browsers, but divs will make it appear the same, if that makes any sense. Its like using pixels for width instead of percent in frames, it shoe sup deifferent on different PC's, depending on settings. Using tables can have this same effect if you are not careful, but are easy to use. Divs offer a little more flexability and will appear exactly the same on every broweser in every operating system (or are supposed to at least)

  • All times are GMT -7. The time now is 05:47 AM.