In-line CSS IE hack

后端 未结 7 1363
栀梦
栀梦 2020-12-30 13:33

Is it possible to create, for instance, a box model hack while using in-line CSS?

For example:

相关标签:
7条回答
  • 2020-12-30 14:18

    Keep in mind that IE 6 needs the box model hack in quirks mode but not in standards mode. IE 5 and IE 5.5 need the BMH all the time.

    So if you're in standards mode, you'll need to use something like the original voice-family hack (which targets IE 5.X and not IE 6). If you're in quirks mode, any old IE <= 6 hack will do.

    (The content of your question suggests to me that your page renders in quirks mode.)

    0 讨论(0)
提交回复
热议问题