Home > Web Front-end > Bootstrap Tutorial > How to wrap the bootstrap table plugin

How to wrap the bootstrap table plugin

angryTom
Release: 2019-07-20 13:12:07
Original
4604 people have browsed it

How to wrap the bootstrap table plugin

Recommended tutorial: Bootstrap tutorial

If you add a few more columns, there will be too much td text There will be no line wrapping, everything will be displayed in one line and the width of the entire table will automatically exceed the width of the body, and a scroll bar will appear

Solution

<table class="table table-striped table-hover table-bordered" style="word-break:break-all; word-wrap:break-all;">
Copy after login

Added astyle="word-break:break-all; word-wrap:break-all;" This is no problem

<table class="table  table-striped" style="word-break:break-all; word-wrap:break-all;">
                <tr>
                <td>title</td>
                <td>123456789111111111111111111111111111111</td>
                </tr>
               
            </table>
Copy after login

The above is the detailed content of How to wrap the bootstrap table plugin. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template