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

WBOY
Release: 2016-06-24 11:57:26
Original
1843 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:
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