Home > Web Front-end > HTML Tutorial > 如何设置页面宽度的CSS_html/css_WEB-ITnose

如何设置页面宽度的CSS_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:30:19
Original
1058 people have browsed it

各位大神,我希望我的一个表格

宽度为屏幕的40%,但不能小于400,我的CSS改怎么写呢?谢谢大神们指教。


回复讨论(解决方案)

width: 40%;
min-width: 400px;

谢谢大神!!学会了!我试试!

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