Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-11-2012, 02:54 AM   PM User | #1
atomic.argonaut
New to the CF scene

 
Join Date: Apr 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
atomic.argonaut is an unknown quantity at this point
when to use tables

say you've got a form thats responsible for collecting data on an individual pertaining to first name, last name, middle initial, address, state, zip, etc.

is it good web etiquette to use a table for organizing the input fields and then returning the entered data in the same table, or should you use a table to organize the returned data only?

and if the best way is to only use table markup for the returned data only, whats the most effective method for organizing the input fields? unordered lists? a separate div for each field? thoughts? thanks!
atomic.argonaut is offline   Reply With Quote
Old 10-11-2012, 06:52 AM   PM User | #2
JefferyJamison
New Coder

 
Join Date: Sep 2012
Location: USA
Posts: 13
Thanks: 0
Thanked 2 Times in 2 Posts
JefferyJamison is an unknown quantity at this point
when to use tables

Hi ! As per my Opinion the best way is to use table for organizing the input fields and then returning the entered data in the same table with different font style. It is the helping when you have some query or problem then you easily manage it.
JefferyJamison is offline   Reply With Quote
Old 10-11-2012, 04:50 PM   PM User | #3
atomic.argonaut
New to the CF scene

 
Join Date: Apr 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
atomic.argonaut is an unknown quantity at this point
hey there, thanks for the reply. as well as that thanks for prefacing the message with 'as per my opinion.' its refreshing when people dont view themselves as the end all authority on a given topic.

anyway.

while i agree that structuring the form using a table, and returning the data to that very same table is, from a workflow standpoint, the most convenient thing to do, my question is is it semantic?

most everything ive read in relation to table usage stresses that it only be used for the tabular arrangement of data.

given that forms arent data, but a method of collecting it, im wondering if using tables for their arrangement is considered proper.

thanks!
atomic.argonaut is offline   Reply With Quote
Old 10-11-2012, 06:15 PM   PM User | #4
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,812
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
You've sort answered your own question about when tables should be used, I think. The general consensus is that they should not be used for layout.

Here's a couple of useful links on laying forms out without tables:

http://alistapart.com/articles/prettyaccessibleforms
http://www.noupe.com/php/beautiful-forms.html

The first of these is quite old, but still useful I think.
SB65 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:58 PM.


Advertisement
Log in to turn off these ads.