CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 7th, 2004, 09:40 AM
talia679's Avatar
talia679 talia679 is offline
Always something else to learn
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: PA
Posts: 691 talia679 User rank is Private First Class (20 - 50 Reputation Level)talia679 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 14 h 2 m 37 sec
Reputation Power: 6
CSS or HTML Columns versus Tables

I'm working on generating a TOC with PHP pulling info from my DB. What I want to figure out is if there is a way to do columns with CSS without using a table? I read about the <multicol> tag that isn't supported ... it would have been perfect for my needs.

The reason I was looking for something other than a table, is because I have a list of dates that look like this:

1859 2000
1959 2001
1999 2003

If I use the PHP script then it looks like this:

1998 1999 2000
2001 2002 2003

I don't want the change to cause too much confusion amongst our inexperienced users.

Any suggestions other than tables?

Reply With Quote
  #2  
Old April 7th, 2004, 06:20 PM
lucesei's Avatar
lucesei lucesei is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 111 lucesei User rank is Private First Class (20 - 50 Reputation Level)lucesei User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 11 h 33 m 27 sec
Reputation Power: 5
Don't understand your example...is it that a 2 x 3 tabular info becomes a 3 x 2 table when run through the script?? Then just modify the way the script displays the info and that's it! Otherwise, please explain better.

Div & tables, better divs or tables etc... Well, to me the answer is very simple: use divs for structure and tables for data. The problem is that tables have been used for too long as a structural element, so now the campaign is towards making web designers use tables for "what tables are made for", and use divs for structure. But what I fear is happening is that people are taking this recommendation too far, and are starting to do the opposite: using divs to diplay tabular data! That's not good, get it?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS or HTML Columns versus Tables


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway