Conditional CSS

Anyone who has tried to get CSS working with IE will know about the 'nuances' of the browser.

Thankfully, CSS gives us some conditional formatting methods to deal with these scenarios; you can apply class explicitly based on the browser type or version.

<!--[if IE]>
<style type="text/css">
    @font-face {
    font-family: "Arial";
    src: url("../new/over.ttf");
    src: local("Over the Rainbow"), url("../new/over.ttf");
    }
</style>
<![endif]-->

See here for more information

Comments

Popular posts from this blog

SharePoint 2013: Error updating managed account credentials

Error deploying Nintex workflow: An item with the same key has already been added