Archived topic
Need Help Lining Up The Rows
1 reply · Started by Randal on April 10, 2023
I have built a table at https://www.theherbsplace.com/pollutants/ but the rows aren't lining up (it starts at nitrates.) This is how the table should look https://www.theherbsplace.com/the_importance_of_water_sp_170/ (just scroll down to "Common Water Problems."
Also, I would like for each alternate row to have a background color.
Thanks,
Randal
Hi Randal,
The table you built on the pollutants page is just a Grid block, while the table on the other page is an actual <table>.
Based on your current structure, the Grid will not work when the text can wrap to the next line.
Your current structure is:
- Grid
- container
- p
- p
- more p...
- container
- p
- p
- more p...
- container
- p
- p
- more p...
I would recommend trying another structure:
- Grid
- container
- p
- container
- p
- container
- p
- container
- p
- container
- p
- more containers...
- p