What is "web 2.0" or where are the specs? Is is just by applying and using AJAX?
I read many comments saying that "tables" are "old fashion". What is to replace them? "Div" ?
I develop a lot with AJAX, Divs and tables, but I believe that a table, using % instead of width, are better for any screen resolution.
Advices ? Comments ?
2007-09-06
22:59:38
·
5 answers
·
asked by
just "JR"
7
in
Computers & Internet
➔ Programming & Design
"Absolute" position of div's does not work well if the user resizes!
I have many sites where I have divs and tables imbricated, and that give perfect layout in any screen sizes OR resize!
I use first script to get the surfer width, which I pass to PhP through AJAX and re-format images to cater for it.
No refresh (reload), no horizontal scroll, images and texts updated in real time and fitting on the screen...
I have "
,
"
... and divs within tables and tables within divs!
The question is (really): will the tag
become obsolete in the near future?
2007-09-07
02:19:11 ·
update #1
Karen, thanks.
I agree, there are many browsers!
But if you check your browsers' sources, you have 95% IE, 3% Firefox, 1% Netscape, the rest being others.
Sorry, I would stick with the most popular.
2007-09-10
12:08:15 ·
update #2
5 answers
Tables are still available. Web 2 just has more powerful inbuilt features, but is still capable of handling previous features.
2007-09-06 23:10:38
·
answer #1
·
answered by Anonymous
·
1⤊
1⤋
You can style div layouts with percentage as well. There has been no reason to use tables as presentation devices since 1999, when CSS became widely supported. Tables as presentation devices are an old-fashioned error in any design.
In any event, they fail to follow modern standards, which separate style from structure.
The table tag continues to be supported in drafts as a container for *tabular data* only. Ie., charts and other dimensionally related visual databases. Not as stylistic devices.
If you cannot get your CSS to resize properly, have a look at the many working CSS layouts freely available on the web and what makes them work.
2007-09-06 23:42:24
·
answer #2
·
answered by Ron 6
·
1⤊
0⤋
The life of the
tag is not really related to web 2.0. Tables will still exist for tabular data ... but they have tended to be used for layout which is where they will eventually decrease in popularity.
Typically, and for lots of pertinent reasons, developers now separate styling from content, using tags and floats etc etc which means your content can be properly ordered and your website is accessible to various users and with various browsers.
The biggest fly in the ointment is that a large percentage of people still use non standards compliant browsers (IE) which means there are a bunch of hacks you need to get to grips with, but that is probably easier to learn than the java script and table alternative you suggested.
Hope that helps
Karen
*** Added ***
Thanks for the comment Just JR, but sticking to the most popular (Internet Explorer) is where you see the problems. IE IS an non standard compliant browser and it IS the one you have to build hacks into your CSS for ... it is just something to be mindful of when you are using CSS for styling.
2007-09-10 07:28:52
·
answer #3
·
answered by Anonymous
·
0⤊
0⤋
I believe tables are used less nowadays because of accessibility issues with screen readers. Check here for guidelines.
I heard it's good to use DIV with absolute positioning. This way, you could dynamically change the displays via different stylesheets.
www.w3c.org/tr/wai-webcontent
2007-09-07 01:36:24
·
answer #4
·
answered by ~_~ 2
·
1⤊
0⤋
very confusing aspect. research using yahoo. that might help!
2014-12-10 19:16:34
·
answer #5
·
answered by Anonymous
·
0⤊
0⤋
fedest.com, questions and answers