Microsoft CSS 的修正方法
Enter Microsoft Conditional Comments. Each different IE/Windows version can be detected, and there is much more detail about how they can be used by following that link but suffice to say because I don't want to be incorporating multiple IE stylesheets and to keep things as simple as possible for these particular menus, I'm using a general one to target all versions of IE/Windows:
<!--[if IE]>
<style type="text/css" media="screen">
</style>
<![endif]-->
By putting that comment after all the other CSS rules, to ensure the integrity of the Cascade, we're asking IE/Windows only to read and apply whatever styles or linked stylesheet are within that comment. Any other browsers will ignore it.
留言
張貼留言
,,