Home >Web Front-end >HTML Tutorial >Still unable to set width after using {display:block}? _html/css_WEB-ITnose
#span1{
display:block;
weidth:500px;
height:50px;
}
After making the above settings, span1 still occupies one line. Please tell me. What's the reason?
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