Destramic Posted August 25, 2011 Share Posted August 25, 2011 hey guys i have rows for a database...now these row will create data for a league table (like the football league for example)...now how would be the best way to deal with the view of it...a table or should/could i use css?...thanks guys Quote Link to comment https://forums.phpfreaks.com/topic/245708-tables/ Share on other sites More sharing options...
requinix Posted August 25, 2011 Share Posted August 25, 2011 Are you displaying tabular data? Then use a table. Quote Link to comment https://forums.phpfreaks.com/topic/245708-tables/#findComment-1262020 Share on other sites More sharing options...
Destramic Posted August 25, 2011 Author Share Posted August 25, 2011 oh that simple...I just thought tables were bad Quote Link to comment https://forums.phpfreaks.com/topic/245708-tables/#findComment-1262024 Share on other sites More sharing options...
cssfreakie Posted August 26, 2011 Share Posted August 26, 2011 oh that simple...I just thought tables were bad no their not, but but they are often abused for things they are not meant for although it does the job. For instance building your complete site template by using tables. That is besides redundant bad. Tables are not bad the coder that does not use them properly. It's like using the grill of a jaguar XFR To grill your meat on. It works, but there are better methods. The grill is perfect but better suited on a expensive car. As a rule of thumb. If you have multi column data (like a spreadsheet) or making html emails, you can use tables. is it a single column a List is much better. as for templates, use divs to make the general structure. In the end it's about using the right tool for the right moment. Quote Link to comment https://forums.phpfreaks.com/topic/245708-tables/#findComment-1262091 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.