Home > Web Front-end > Layui Tutorial > How to set the default table width of layui

How to set the default table width of layui

藏色散人
Release: 2023-01-13 00:40:15
Original
7662 people have browsed it

How to set the default table width of layui: first open the corresponding code file; then modify the code to "td{min-width: 150px;max-width: 200px;}".

How to set the default table width of layui

The operating environment of this tutorial: Windows 7 system, layui version 1.0, Dell G3 computer.

Recommended: "javascript basic tutorial" "layUI tutorial"

layui table sets the width of td,

td{
    min-width: 150px;
    max-width: 200px;
}
Copy after login

exceeds Length hidden

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
Copy after login

The above is the detailed content of How to set the default table width of layui. 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