Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Table vs absolute position

Table vs absolute position

Scheduled Pinned Locked Moved Web Development
visual-studioquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anveshvm
    wrote on last edited by
    #1

    Hi I am fresh to web development. I have seen most of the sites using Table for layout. But I find it rather complex to use tables. Which is actually better? Can you tell the advantage of using the better one? Thanks in advance rgds Anvesh

    J M N 3 Replies Last reply
    0
    • A anveshvm

      Hi I am fresh to web development. I have seen most of the sites using Table for layout. But I find it rather complex to use tables. Which is actually better? Can you tell the advantage of using the better one? Thanks in advance rgds Anvesh

      J Offline
      J Offline
      johnsontroye
      wrote on last edited by
      #2

      This is one of those questions that will get you people screaming from both sides of the fence. I have struggled over this question myself, and have come to a conclusion that works well for me. That is, it depends on the situation. These are the advantages of each for me, they may be different for you or someone else. Tables: * I've been using them for 10 years and I can whip them up very quickly, and modify them very quickly. * Relative to using styles, I would say tables are much easier to learn to use. * Once you get good at them, you can learn to use them with minimum impact on size and page weight. Styles: * Generally less markup which means less page weight and faster page load times. * Allows you to dramatically change the layout of the page with little effort. The caveat to this is that you designed the layout of the page good to begin with. Also keep in mind, while this is cool, how often do you really need to do this? * Can make pages more usable for visually impaired people because you are removing a lot of the style markup from the text being read. Also keep in mind that even the hardcore style folks usually advocate using tables in some cases. When you are laying out data that is in a Excel Spreadsheet like format for instance. To sum it up, I don't think there is a right or wrong way to do it. I use both depending on what my goal is. Get it out the door quick as possible? Very fast page load times? Usable for visually impaired? Good luck, Troy

      Troy Johnson www.anothercodesite.com/blog

      1 Reply Last reply
      0
      • A anveshvm

        Hi I am fresh to web development. I have seen most of the sites using Table for layout. But I find it rather complex to use tables. Which is actually better? Can you tell the advantage of using the better one? Thanks in advance rgds Anvesh

        M Offline
        M Offline
        Mohammad Dayyan
        wrote on last edited by
        #3

        Hello. As far as I know using DIV tags for the layouts are easier, but it depends of the website. With DIV tag and CSS we can create a layout easily, but we should use some CSS tricks to create a better layout.

        1 Reply Last reply
        0
        • A anveshvm

          Hi I am fresh to web development. I have seen most of the sites using Table for layout. But I find it rather complex to use tables. Which is actually better? Can you tell the advantage of using the better one? Thanks in advance rgds Anvesh

          N Offline
          N Offline
          netJP12L
          wrote on last edited by
          #4

          I have been using tables all the time until i recently met with a graphic layout designer who recommended me of using the div instead of table. I don't see the difference in terms of performance since the page isn't too loaded with data. But, what i have observed now is that, one should use table when there is a need to display data in a table formate. Think of a table like a Grid or container that shows the data you want it to be displayed.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups