Align table columns HTML
- by Luigi Tiburzi
I finally was able to align the columns in the tables of a page of my website. Though I found the solution I don't understand it.
This is a fiddle I prepared. If you delete
display: block
from the CSS the columns are centered perfectly.
The fact is that I don't understand what that instruction is causing problems, doesn't it means that elements are displayed as block elements? Shouldn't it cause the elements (the raw in particular) to fill an entire line?
Thanks for your explanation