Hi,
Can someone advice me about the possible better way to make html tables, knowing that the number of rows and columns are aleatory?
Depending of my xml tree I will have to create some tables, and in each table I can say I will have different subsets of data, in other words, I will have diferent number of rows and columns.
For instance, I was trying to construct my table as a string... so I will first read my data and, depending of what was read, I would create diferent tables (inside the main one) to each subset of data. To do that I was creating a table inside a row of the main table. The problem is that, if I put borders, the table would be ugly!
So, I´m thinking on using diferent body sections to put the diferent subset of data( I say subset, because in fact, the structure of the table becames diferent...)
I think I would be able to use colspan and rowspan, however I think this might be dificult to contro it...
I never used tables before... so I would apreciate an advice to do such table...
Thank you
Can someone advice me about the possible better way to make html tables, knowing that the number of rows and columns are aleatory?
Depending of my xml tree I will have to create some tables, and in each table I can say I will have different subsets of data, in other words, I will have diferent number of rows and columns.
For instance, I was trying to construct my table as a string... so I will first read my data and, depending of what was read, I would create diferent tables (inside the main one) to each subset of data. To do that I was creating a table inside a row of the main table. The problem is that, if I put borders, the table would be ugly!
So, I´m thinking on using diferent body sections to put the diferent subset of data( I say subset, because in fact, the structure of the table becames diferent...)
I think I would be able to use colspan and rowspan, however I think this might be dificult to contro it...
I never used tables before... so I would apreciate an advice to do such table...
Thank you