Why use alternating colors?
- Improves readability.
- Helps distinguish rows quickly.
- Automatically adapts if a row spans multiple lines.
Margin | Effect |
---|---|
Left | Space between the left edge of the table and the row. |
Top | Space between the top of a row and the row above it. |
Right | Space between the right edge of the table and the row. |
Bottom | Space between the bottom of a row and the row below it. |
Tip: Use margins to create visual separation between rows while keeping the table body background visible.