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. CSS tables Vs. HTML tables

CSS tables Vs. HTML tables

Scheduled Pinned Locked Moved Web Development
csharphtmlcssasp-netvisual-studio
7 Posts 5 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.
  • M Offline
    M Offline
    MayyMagdy
    wrote on last edited by
    #1

    Hi all, Does anyone know what are the advantages & disadvantages of using css positioning (css tables - div) instead of html tables, especially the disadvantages of css tables and advantages of using html tables, taking into consideration that am working on dynamic and big asp.net projects that contains alot of user controls with alot of inside controls (textboxes, labels, dropdowns, ...) Thanks in advance

    D M G B 4 Replies Last reply
    0
    • M MayyMagdy

      Hi all, Does anyone know what are the advantages & disadvantages of using css positioning (css tables - div) instead of html tables, especially the disadvantages of css tables and advantages of using html tables, taking into consideration that am working on dynamic and big asp.net projects that contains alot of user controls with alot of inside controls (textboxes, labels, dropdowns, ...) Thanks in advance

      D Offline
      D Offline
      DavidNohejl
      wrote on last edited by
      #2

      MayyMagdy wrote:

      especially the disadvantages of css tables and advantages of using html tables

      You mean CSS layout that does NOT use tables, but archives the same thing as tables. (?) Only advantage of html layout I can think of is that in some older browsers CSS support can be bad. Umm, yeah. That's all. CSS layout is better semanticaly, its easier to read/modify, creates smaller pages... by all means don't use table layout but CSS layout. Tables are meant and best used for displaying tables. edit: by "some older browser" I mean really historic browsers. For wide-audience sites CSS support is VERY resonable browser requirement. That may not be true in some cases of intranet application, if company is for some reason using really old browsers. But X|


      "Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus

      1 Reply Last reply
      0
      • M MayyMagdy

        Hi all, Does anyone know what are the advantages & disadvantages of using css positioning (css tables - div) instead of html tables, especially the disadvantages of css tables and advantages of using html tables, taking into consideration that am working on dynamic and big asp.net projects that contains alot of user controls with alot of inside controls (textboxes, labels, dropdowns, ...) Thanks in advance

        M Offline
        M Offline
        MatrixCoder
        wrote on last edited by
        #3

        This might help!


        Trinity: Neo... nobody has ever done this before. Neo: That's why it's going to work.

        1 Reply Last reply
        0
        • M MayyMagdy

          Hi all, Does anyone know what are the advantages & disadvantages of using css positioning (css tables - div) instead of html tables, especially the disadvantages of css tables and advantages of using html tables, taking into consideration that am working on dynamic and big asp.net projects that contains alot of user controls with alot of inside controls (textboxes, labels, dropdowns, ...) Thanks in advance

          G Offline
          G Offline
          Guffa
          wrote on last edited by
          #4

          Table based layouts works better in some old browsers from a specific era, that have partial css support that prevents css layouts from degrading gracefully. Netscape 4 is the most common example of a browser like that. For other browsers, i.e. all modern graphical browsers and also browsers that doesn't support css at all, a css layout works best. This includes browsers without a graphical interface, for example how blind people experience the web. Table based layouts was a revolution for the web, as it allowed for layout in web pages at a time when layout wasn't really supported by html. That time was in the middle of the 90's. That was then, and this is now, when we have real tools for layout so that we don't have to use tables to fake it.

          --- single minded; short sighted; long gone;

          M 1 Reply Last reply
          0
          • M MayyMagdy

            Hi all, Does anyone know what are the advantages & disadvantages of using css positioning (css tables - div) instead of html tables, especially the disadvantages of css tables and advantages of using html tables, taking into consideration that am working on dynamic and big asp.net projects that contains alot of user controls with alot of inside controls (textboxes, labels, dropdowns, ...) Thanks in advance

            B Offline
            B Offline
            blue_arc
            wrote on last edited by
            #5

            without reading furthur i will like to say... u have to mess ur head when u have to display ur page using CSS in multi browser... u will be deadlike... belive me.. it is very good , but as a implementation is concerned, always simpler path.

            Ravi Kant Srivastava (System Analyst) HandsOn Technology & Engineering Gurgaon (India) e-mail:ravikant@hte.co.in

            1 Reply Last reply
            0
            • G Guffa

              Table based layouts works better in some old browsers from a specific era, that have partial css support that prevents css layouts from degrading gracefully. Netscape 4 is the most common example of a browser like that. For other browsers, i.e. all modern graphical browsers and also browsers that doesn't support css at all, a css layout works best. This includes browsers without a graphical interface, for example how blind people experience the web. Table based layouts was a revolution for the web, as it allowed for layout in web pages at a time when layout wasn't really supported by html. That time was in the middle of the 90's. That was then, and this is now, when we have real tools for layout so that we don't have to use tables to fake it.

              --- single minded; short sighted; long gone;

              M Offline
              M Offline
              MayyMagdy
              wrote on last edited by
              #6

              Thank you all for help, but still have some questions. about css layout as i know it is based on absolute positions, does this means that if i want to change position for one control or its width this will affect page layout and i'll have to change position of all other controls in this page?????? also i found this article: http://www.decloak.com/Dev/CSSTables/CSS\_Tables\_01.aspx any comments on it??? -- modified at 7:39 Wednesday 7th February, 2007

              G 1 Reply Last reply
              0
              • M MayyMagdy

                Thank you all for help, but still have some questions. about css layout as i know it is based on absolute positions, does this means that if i want to change position for one control or its width this will affect page layout and i'll have to change position of all other controls in this page?????? also i found this article: http://www.decloak.com/Dev/CSSTables/CSS\_Tables\_01.aspx any comments on it??? -- modified at 7:39 Wednesday 7th February, 2007

                G Offline
                G Offline
                Guffa
                wrote on last edited by
                #7

                MayyMagdy wrote:

                about css layout as i know it is based on absolute positions

                You can use absolute positions if you like, but generally you should avoid that.

                does this means that if i want to change position for one control or its width this will affect page layout and i'll have to change position of all other controls in this page?

                That's why you should aavoid absolute positioning.

                also i found this article: http://www.decloak.com/Dev/CSSTables/CSS\_Tables\_01.aspx any comments on it???

                Mostly bullshit, IMHO. A lot of opinions and very little substance. Take a look at what they are selling, and consider if they are interrested in web sites that are easily maintained, or websites that needs their product for maintainence.

                --- single minded; short sighted; long gone;

                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