
Benjamin H. answered 08/02/20
Tutor
4.9
(18)
Full-Stack Web Developer with CSS experience
In CSS, you can change the table width by setting it's width value. It can be percentage or a value.
If I want the table to be 500px for the width, I would do this:
table {
width: 500px;
}
If I want the table to be 50% of the width, I would do this:
table {
width: 50%;
}