A
A
AlexBoss2019-08-20 15:52:56
css
AlexBoss, 2019-08-20 15:52:56

How to make tables fit the entire width of the screen?

Good afternoon. There are 2 tables on bootstrap, one has more columns than the other. When viewed from a computer, one table is full screen, the second starts scrolling to the side. How can I make this table shrink and scrolling disappear?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
grinat, 2019-08-20
@AlexBoss

table {
    width: 100%;
    word-break: break-all;
}

D
dudeone, 2019-08-20
@dudeone

table {
width: 100%;
}
or set a fixed width
, but in general it’s not clear without an example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question