What is the proper way to style an HTML table?
For example, how do I…
[INDENT]- Set Row Height?
-
Set Column Width?
-
Set Table Width?
-
Position Text Vertically or Horizontally in a Cell?
[/INDENT]
Thanks,
Debbie
What is the proper way to style an HTML table?
For example, how do I…
[INDENT]- Set Row Height?
Set Column Width?
Set Table Width?
Position Text Vertically or Horizontally in a Cell?
[/INDENT]
Thanks,
Debbie
Hi Debbie,
Try these:
Row height
tr {
height: value;
}
Column width
th or td {
width: value;
}
Table width
table {
width: value;
}
position text
td {
text-align: value;
}
Not too sure about the vertical or horizontal. If any of those are incorrect feel free to let me know. If you have more than one table maybe put the tables in divisions.
Thanks,
Debbie