What are the disadvantages of display:inline-block_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:09:51
Original
1161 people have browsed it

As mentioned, what are the disadvantages of using this attribute? Thank you everyone


Reply to the discussion (solution)

The disadvantage is that IE6 does not support it.

Take a look at the next CSS document. The essence of this version includes

The disadvantage is that IE6 does not support it.

Compatibility issues

You can do this
div{ display:inline-block; background:#000; width:100px;height:100px}
div{_display:inline; }

1111
2222

Each attribute value is useful, it just depends on whether you use it appropriately; There is no absolute so-called disadvantage. As for the compatibility issue, it is a bit of a disadvantage and can be solved completely through hacks. Overall, I think this attribute value is very useful.

By the way, the compatibility method on floor 4 is not correct enough. The correct method is: display:inline-block;*display:inline;*zoom:1

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