Home >Web Front-end >CSS Tutorial >The difference between display:inline style of div and span_Experience exchange

The difference between display:inline style of div and span_Experience exchange

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 12:05:281722browse

Doesn’t it mean that using display:lnline will become an inline element? Why is it different from span?
What’s even weirder is that there is no difference when executing in ff


[Ctrl A Select all Note:If you need to introduce external Js, you need to refresh it before executing]

The carriage return in IE is treated as a space, hahaha
Statement:
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