Hello Dinesh,
I could go into long reasons why it's not a good idea to use tables for layout, but the best real-world example I can give is here:
http://www.csszengarden.com/
That site has literally HUNDREDS of completely different visual styles and layouts and only the CSS is changed. This would be impossible with a table-based layout.
On Thu, Mar 27, 2008 at 12:08 AM, Dinesh sg < visualdine
sh
yahoo.com">visualdinesh
yahoo.com> wrote:
Hi David,
Sorry, The Last question is wrong.
3. Why we use table less layout?
Regards,
Dinesh
"Karr, David" < david.karr
wamu.net" target="_blank">david.karr
wamu.net> wrote:
This probably isn't the best place to ask this, but I personally am not sure of a better place.
Since a few hours have passed since you asked, I'll try to answer this, even though there's many people here who could probably answer it better.
In my opinion, you've barely specified enough information in your question to formulate an answer, but I'm going to guess you're referring to the issue of whether to do layout with tables or divs. If that's not what you're asking, then ask again with more specific questions.
Concerning "table" vs. "div", you can do layout with both, but lately it's understood that combining "div" elements with the use of Cascading Style Sheets is much better and more flexible than using tables for layout.
Concerning your last question, I'm not really sure what you're asking. If you're asking why you would design a site that doesn't use "div", I would guess if you had to support ancient obsolete browser versions.
From: ydn-javascript@yahoogroups.com" target="_blank">ydn-javascript
yahoogroups.com
[mailto: ydn-javascript@yahoogroups.com" target="_blank">ydn-javascript
yahoogroups.com] On Behalf Of Dinesh sg
Sent: Tuesday, March 25, 2008 9:50 PM
To: yahoo yahoo
Subject: [ydn-javascript] Difference Between Table and Div
Hi,
I have some query. Please give me your favorable answer in these questions.
I found a lot of answer in google. I am not able to clear. So Please help me.
1. What is difference between table and div tag?
2. What is the advantage of div tag to compare table?
3. Why we use div less site?
Regards,
Dinesh
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
--
Edward A Savage Jr - "Sonny"
Senior Software Engineer
Creditdiscovery, LLC
"I was gratified to be able to answer promptly. I said I don't know." ~ Mark Twain
.