|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Like many PHP programmers, I've been migrating from table-based design to CSS for a few websites now, but there's still a problem I've yet to get around.
Most dynamic websites have at least one page that displays a number of dynamic results that need to be displayed in a tabular format. That is, you need to display variable results in orderly columns and rows. Traditionally, this has been done with html tables. No problem. Tried and true. But WC3 has recommend the migration away from tables. Thus, I feel like I'm a "bad" web developer when I resort back to using tables for the dynamic results on my otherwise CSS-based page. Question: since this is a problem that many PHP programmers currently face, has anyone found a good resource for information on this problem? Is it even possible? I've purchased several CSS books and have combed through many websites, but I've never found information relevant to the dynamic design that we PHP programmers face. In fact, the O'Reilly book seems to indicate that it's not possible to achieve tabular layout without using tables: Quote:
So before I give up my search, I thought I'd post to this forum to see if anyone has found a good solution. Many thanks, Steve Stringer |
|
#2
|
|||
|
|||
|
If you do some reading I think that you will find that the recomendaton is to get away from tables when the data therein is not tabular data.
EG: Welcome text, about us, etc But, when your have data that is designed that way, say results from a query for books, you, in fact, want it in a table. The reason being, that while it is a bit of a pain for non visual browsers to deal with the table definitions, the information is then known to be related the way it is laid out.
__________________
Suddenly nothing happened. |
|
#3
|
|||
|
|||
|
The idea is to move away from using tables to control layout. They are still to be used for tabular data.
|
|
#4
|
||||
|
||||
|
JeffCt is exactly correct...
Theres no way you would be able to formulate data dynamicly with 100's of rows without a table... ![]() I'd love to see someone try it though... ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > PHP, CSS, and migrating from table-based design |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|