Columns of a table if overwriting html

Asked

Viewed 30 times

0

Table tag columns are overwriting.

It’s getting like this:

inserir a descrição da imagem aqui

How it should look: inserir a descrição da imagem aqui

Code:

<table class="table table-bordered"><tbody><tr><td>fdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfs<br></td><td>fdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfsfdsdfsfdfsdisfsfhshfskdjhjksdhfdjskhfsdkjhfs<br></td></tr></tbody></table><p><br></p>

I look forward to help... D

1 answer

0

You can add this CSS to solve this problem:

.table {
    table-layout:fixed;
    width: 100%;
}
.table td {
    word-wrap:break-word;
}
  • Hasn’t worked yet :(

Browser other questions tagged

You are not signed in. Login or sign up in order to post.