As mentioned, what are the disadvantages of using this attribute? Thank you everyone
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; }
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