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 12-04-2008, 08:32 AM   #1 (permalink)
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Smile table versus tabless design

i see alot of nice sites out there exported straight out of photoshop, illustrator or whatever completed in a matter of minutes. but i'm more of a tabless designer and it can sometimes take me forever switching from browser to browser , creating different styles sheets for each browser and so on. since i'm more code oriented i cant imagine how a programmer even designs a website with tables (of course their doing it from the wusiwug screen) but when it comes to time insert server side code and you have like 10,000 lines of tr's and td.. how do u they do it?? although it is up to my preference is it worth switch to designing with tables? what is your opinion?

thanks
__________________
no signature set
sarmenhb is offline  
Reply With Quote
Old 12-04-2008, 06:24 PM   #2 (permalink)
The Contributor
 
Join Date: Apr 2008
Location: Nevada, USA
Posts: 52
Thanks: 10
h0ly lag is on a distinguished road
Default

Personally, I refuse to use tables for actual layout. Divs and spans for design with some nice CSS. IMO tables are best reserved for presenting data.
__________________
Send a message via AIM to h0ly lag Send a message via MSN to h0ly lag
h0ly lag is offline  
Reply With Quote
Old 12-04-2008, 11:14 PM   #3 (permalink)
The Addict
 
zxt3st's Avatar
 
Join Date: Apr 2008
Posts: 200
Thanks: 18
zxt3st is on a distinguished road
Default

Quote:
Originally Posted by h0ly lag View Post
Personally, I refuse to use tables for actual layout. Divs and spans for design with some nice CSS. IMO tables are best reserved for presenting data.
yes, same here, i oftenly use tables unless i will be representing some data.

I dont really get what you mean here.
Quote:
but when it comes to time insert server side code and you have like 10,000 lines of tr's and td.. how do u they do it??
depending on the programmer on what code he will be inserting. If i will output some data from the database to a particular column this is the way im outputting it.
PHP Code:
<tr>
<td><?php echo "something to output"?></td>
</tr>
We can also insert script outside html tags or even outside the starting <html> tag.

PHP Code:
<?php

session_start
();
if (....)
{
   ....
}

?>
<html>

....

</html>
Hope this what you mean.
__________________
Serenity Project - 5% (Layout) - Ongoing....
Project Serenity Free Life!....
zxt3st is offline  
Reply With Quote
Old 12-05-2008, 02:01 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

Tables are usually used by people who simply don't understand how the floats work in css, or they are using a wysiwyg editor as mentioned. I would always stick to css for the layout and tables when they are needed for data presentation. Tables also really screw with any form of screen reader or other device.
CoryMathews 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookups table drewbee Advanced PHP Programming 0 07-15-2008 08:21 PM
Need some advice in DB design DeMo MySQL & Databases 6 01-30-2008 12:32 AM
how do design a table with a long width sarmenhb XHTML, HTML, CSS 4 01-26-2008 03:39 AM
Need your feedback Tanax Absolute Beginners 29 10-11-2007 04:50 PM
How to check if a table exists? Haris General 8 09-19-2007 09:04 PM


All times are GMT. The time now is 07:22 AM.

 
     

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