CSS Table Size

Table Width and Height

The width and height of a table are defined by the width and height properties.

The example below sets the width of the table to 100%, and the height of the <th> elements to 70px:

Example

table {
  width: 100%;
}

th {
  height: 70px;
}


To create a table that should only span half the page, use width: 50%:

Example

table {
  width: 50%;
}

th {
  height: 70px;
}

www.w3schools.com

3D Effect

Portal scene

UI Design