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

How to set the default table width of layui

藏色散人
藏色散人Original
2020-12-07 10:18:557660browse

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;
}

exceeds Length hidden

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

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!

Statement:
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