CSS tables Vs. HTML tables
-
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
-
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
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
-
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
This might help!
Trinity: Neo... nobody has ever done this before. Neo: That's why it's going to work.
-
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
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;
-
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
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
-
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;
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
-
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
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;