- How do I fix the width of a table in HTML?
- How to fit a wide data table on mobile screens without losing its purpose and readability?
How do I fix the width of a table in HTML?
To manipulate the height or width of an entire table, place the size attribute (either "WIDTH=" or "HEIGHT=") within the <TABLE> code. To manipulate individual cells, place the size attribute within the code for that cell.
How to fit a wide data table on mobile screens without losing its purpose and readability?
Use Vertical Alignment
Always top align all data in rows. This allows long content to extend downward. Users scan across a row, looking at the first line of every column in turn, then might choose to continue reading the content in a particular column below a row.