Internet Explorer for Windows versions 5 and upwards have also been catered for:
we can use conditional comments (p. 394) to supply them with the display value
inline. Without straying too far from the original topic, we can have IE can make
block-level elements behave as inline-block boxes simply by setting one of the
properties that trigger an element to gain a layout and then, in a separate style block,
declaring the element to display inline. The element will behave in most respects
as though the display value was inline-block.
Internet Explorer for Windows only understands the display value inline-block
when it??™s applied to inline elements, which rather defeats the purpose in most cases.
However, using the method above, we can coax IE into displaying block-level
elements as inline-block boxes. The layout trigger is actually the display:
inline-block; declaration, but it could equally well be any of the other properties
that cause an element to gain a layout. See The Internet Explorer hasLayout Property
(p.
Pages:
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548