Hello ^^ So I'm trying to make a table (Both the headers and cells) have the same width no matter how long the text is but I can't remember the code for the life of me xD
Below is the table I'm trying to make even, I'm sometimes very bad at explaining things so please just tell me if I need to be more clear!
table preview/code
Normal |
Fire |
Water |
Electric |
Grass |
Ice |
cell 1 |
cell 2 |
cell 3 |
cell 4 |
cell 5 |
cell 6 |
Fighting |
Poison |
Ground |
Flying |
Psychic |
Bug |
cell 1 |
cell 2 |
cell 3 |
cell 4 |
cell 5 |
cell 6 |
Rock |
Ghost |
Dragon |
Dark |
Steel |
Fairy |
cell 1 |
cell 2 |
cell 3 |
cell 4 |
cell 5 |
cell 6 |
[table]
[tr]
[th]Normal[/th]
[th]Fire[/th]
[th]Water[/th]
[th]Electric[/th]
[th]Grass[/th]
[th]Ice[/th]
[/tr]
[tr]
[td]cell 1[/td]
[td]cell 2[/td]
[td]cell 3[/td]
[td]cell 4[/td]
[td]cell 5[/td]
[td]cell 6[/td]
[/tr]
[/table]
[table]
[tr]
[th]Fighting[/th]
[th]Poison[/th]
[th]Ground[/th]
[th]Flying[/th]
[th]Psychic[/th]
[th]Bug[/th]
[/tr]
[tr]
[td]cell 1[/td]
[td]cell 2[/td]
[td]cell 3[/td]
[td]cell 4[/td]
[td]cell 5[/td]
[td]cell 6[/td]
[/tr]
[/table]
[table]
[tr]
[th]Rock[/th]
[th]Ghost[/th]
[th]Dragon[/th]
[th]Dark[/th]
[th]Steel[/th]
[th]Fairy[/th]
[/tr]
[tr]
[td]cell 1[/td]
[td]cell 2[/td]
[td]cell 3[/td]
[td]cell 4[/td]
[td]cell 5[/td]
[td]cell 6[/td]
[/tr]
[/table]