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

WBOY
Release: 2016-05-16 12:05:28
Original
1679 people have browsed it

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
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