943,928 Members | Top Members by Rank

Ad:
Nov 14th, 2008
0

making website web2.0 compatible

Expand Post »
hello all,
anyone can help me to know, if they have anything related to use <div> in our html page rather than using<table>
besides this i want to know what web 2.0 includes?
thanks in advance
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bimlaburlakoti is offline Offline
4 posts
since Nov 2008
Nov 21st, 2008
0

Re: making website web2.0 compatible

There's nothing to use other then div and table(from what I remember). Unless you're talking about styling your elements, you can use the <span> tag.
Web 2.0 differs from web 1.0 mainly because of better and new technologies and little bit because of design. So basically one of the the big things in web 2.0 is AJAX and some other blah blah technologies used in search engines and stuffs.
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Agent Cosmic is offline Offline
51 posts
since Aug 2008
Nov 21st, 2008
0

Re: making website web2.0 compatible

Web 2.0 isnt an actual thing, its sort of an idea

The idea of using div rather than tables is because instead of using plain html we like to use XHTML and CSS to seperate cotent and presentation so a site looks good whether its printed, read or viewed on any device.
Last edited by jbennet; Nov 21st, 2008 at 11:20 pm.
Moderator
Featured Poster
Reputation Points: 1784
Solved Threads: 574
Moderator
jbennet is offline Offline
16,520 posts
since Apr 2005
Nov 23rd, 2008
0

Re: making website web2.0 compatible

Click to Expand / Collapse  Quote originally posted by jbennet ...
Web 2.0 isnt an actual thing, its sort of an idea

The idea of using div rather than tables is because instead of using plain html we like to use XHTML and CSS to seperate cotent and presentation so a site looks good whether its printed, read or viewed on any device.
I agree with the above comment; the best way to make a good looking layout is with xhtml and CSS. You can even make some DHTML widgets with just XHTML and CSS those two languages together are powerful.
Reputation Points: 48
Solved Threads: 11
Posting Pro
tiger86 is offline Offline
540 posts
since Feb 2008
Nov 24th, 2008
0

Re: making website web2.0 compatible

First of all, if the content is tabular data, use a table. It is not deprecated.

The main idea is to get rid of the old usages of using tables to create borders and margins. Before CSS, table was the only way to have a border or a margin around the page.

Another objective is to not use tables to position objects on the page. Unfortunately, the use of div means the page layout falls apart if things don't fit, or if the window size is reduced. The table will add scrollbars if the content doesn't fit.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Nov 24th, 2008
0

Re: making website web2.0 compatible

i know something like overflow and all the other things but yet i want to know from u all is only that is there any tutorials which teach about div
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bimlaburlakoti is offline Offline
4 posts
since Nov 2008
Nov 24th, 2008
0

Re: making website web2.0 compatible

You can add scrollbars to divs cant you?
Moderator
Featured Poster
Reputation Points: 1784
Solved Threads: 574
Moderator
jbennet is offline Offline
16,520 posts
since Apr 2005
Nov 25th, 2008
0

Re: making website web2.0 compatible

Click to Expand / Collapse  Quote originally posted by jbennet ...
You can add scrollbars to divs cant you?
Yes. The difference is that table defaults to adding scrollbars, but div defaults to changing size and location to render.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Nov 26th, 2008
0

Re: making website web2.0 compatible

The REAL reason they want us to stop using tables for anything other than tabular data is accessibility.

HTML readers for the blind read off the row and column number for each table cell. This means nothing concrete to the blind person, if the table is used for layout purposes instead of tabular data.
Last edited by MidiMagic; Nov 26th, 2008 at 1:49 am.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Nov 26th, 2008
0

Re: making website web2.0 compatible

Another reason is also to make the script cleaner.
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Agent Cosmic is offline Offline
51 posts
since Aug 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Site Layout and Usability Forum Timeline: Screen Resolution & Width of the Screen for Business Applications
Next Thread in Site Layout and Usability Forum Timeline: Similar Page Result issue





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC