TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 02-17-2008, 08:37 PM   #1 (permalink)
The Contributor
 
Join Date: Jan 2008
Posts: 28
Thanks: 9
bmathers is on a distinguished road
Default Tables??

Im new to the web design game and trying to learn everything i can, ive heard people say stay away from using tables, why is this? What are the advantages/disadvantages and other methods?
bmathers is offline  
Reply With Quote
Old 02-17-2008, 08:51 PM   #2 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Tables are still used. Although some naive individuals will tell you not to use them all. Tables should be used for what they were invented for - tabular data.

The reason HTML tables now have such a bad name is because people began using tables for the skeleton of their designs. Tables are not intended to be used for that. It's just back in the days, styling websites just via CSS was a tricky job, but now, although CSS is still far from perfect, any competent web developer can create a website without even touching a table. The competent developer simply uses HTML tables for tabular data.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
Old 02-18-2008, 01:23 AM   #3 (permalink)
The Wanderer
 
dylanfm's Avatar
 
Join Date: Jan 2008
Location: Australia
Posts: 14
Thanks: 1
dylanfm is on a distinguished road
Default

Basically, make sure your markup is semantic.

ie. tables for tabular data, lists for lists, paragraphs for paragraphs and so on.

Tables used for layout make your code bloated, they cause accessibility issues, issues with handheld devices and so on.

Separate your presentation and markup. Use (X)HTML and CSS.

If you have issues with CSS, or simply want to use a nice framework (I am using it for a few sites and very content with it) try out blueprintcss - Google Code
Send a message via ICQ to dylanfm
dylanfm is offline  
Reply With Quote
Old 02-18-2008, 01:33 AM   #4 (permalink)
The Addict
 
CoryMathews's Avatar
 
Join Date: Nov 2007
Location: USA
Posts: 256
Thanks: 7
CoryMathews is on a distinguished road
Default

the main reason is browsers have to process everything in your tables twice, if your entire site is one large table it will actually process it twice. The first time to get the structure the second to get the content. If you make your design with out tables, ie with css browsers will only process the page once. Also your page size will but cut way down because there is no longer a need for all the extra lines with <tr><td>.. on them.
CoryMathews is offline  
Reply With Quote
Old 03-14-2013, 04:41 AM   #5 (permalink)
The Wanderer
 
Join Date: Feb 2013
Posts: 18
Thanks: 0
kevinloyed is on a distinguished road
Default

The tablet computer has made enormous strides in the last few years. Slim and lightweight, tablets are a new type of internet-enabled computer that work in a similar way to smartphones, with touchscreens and downloadable apps.
kevinloyed is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:39 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design