How can I style table to be full width of container and make the cells use percentage of the width?
Solution 1:
I think your problem is that you have display: block
overriding the default display mode for the table (which is table
). Remove that, and then try applying width: 100%
to the table.