Home >Web Front-end >Layui Tutorial >How to set the default table width of layui
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;}".
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!