dannybrazil Posted April 4, 2008 Share Posted April 4, 2008 Hello may be some one can help me , im trying to place 4 tables (instead of table with 4 culomns) side by side but it seems wierd cus when im typing the code the tables go under each other <table></table> (space) <table></table> (space) and so on.... i want to get TABLE TABLE TABLE... not: TABLE TABLE TABLE . . . Quote Link to comment https://forums.phpfreaks.com/topic/99542-tables/ Share on other sites More sharing options...
haku Posted April 4, 2008 Share Posted April 4, 2008 You need to stop using tables. Outdated. Spend some time learning CSS. Quote Link to comment https://forums.phpfreaks.com/topic/99542-tables/#findComment-509249 Share on other sites More sharing options...
Cosizzle Posted April 4, 2008 Share Posted April 4, 2008 He is right, learn CSS but sometimes tables are unavoidable in this case you want to use <table> <tr> <td>Table 1</td> <td>Table 2</td> <td>Table 3</td> <td>Table 4</td> </tr> <tr> <td>Table 5</td> <td>Table 6</td> <td>Table 7</td> <td>Table 8</td> </tr> </table> Out Put is: Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 Quote Link to comment https://forums.phpfreaks.com/topic/99542-tables/#findComment-509338 Share on other sites More sharing options...
haku Posted April 5, 2008 Share Posted April 5, 2008 The only situation in which tables are unavoidable is for tabular information (cross referencing cateogories). Other than that they are not only never necessary, but should in fact never be used. Although theoretically, someone could have four sets of tabular information to be displayed on one page. But in such a case, the above would still be bad code - its using a table to position tables. Tables themselves aren't tabular information, they hold tabular information. In such a case, it would be better to create the four tables above each other, and then position them using CSS. Quote Link to comment https://forums.phpfreaks.com/topic/99542-tables/#findComment-509752 Share on other sites More sharing options...
ToonMariner Posted April 7, 2008 Share Posted April 7, 2008 tables are avoidable for tabular data - its just wrong to avoid them in that situation Quote Link to comment https://forums.phpfreaks.com/topic/99542-tables/#findComment-511034 Share on other sites More sharing options...
haku Posted April 7, 2008 Share Posted April 7, 2008 You make a good point. Quote Link to comment https://forums.phpfreaks.com/topic/99542-tables/#findComment-511077 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.