Home > Web Front-end > HTML Tutorial > Still unable to set width after using {display:block}? _html/css_WEB-ITnose

Still unable to set width after using {display:block}? _html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 11:57:26
Original
1914 people have browsed it

#span1{
display:block;
weidth:500px;
height:50px;
}
After making the above settings, span1 still occupies one line. Please tell me. What's the reason?


Reply to discussion (solution)

Width is written wrong. . . .

What an embarrassment~~~~ Such an inadvertent mistake
Thanks for the correction

Uh-huh. . No thanks, I’m also learning front-end by myself, and I’ll have a chance to communicate

Related labels:
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
Latest Issues
Verification code display
From 1970-01-01 08:00:00
0
0
0
Chinese display abnormality
From 1970-01-01 08:00:00
0
0
0
How to display plugin directly in datepicker?
From 1970-01-01 08:00:00
0
0
0
Where can I find the product display renderings?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template