How To Create a Full Width Table

Learn how to create a full-width table with CSS

How To Create a Full-width Table

To create a full-width table, use width: 100%:

Example

table {
  width: 100%;
}
Try it Yourself »
Tip: Go to our CSS Tables Tutorial to learn more about how to style tables.