{"id":978,"date":"2010-01-19T17:47:52","date_gmt":"2010-01-19T16:47:52","guid":{"rendered":"http:\/\/v6.capsule.org\/?p=978"},"modified":"2010-01-19T17:47:52","modified_gmt":"2010-01-19T16:47:52","slug":"remove-font-smoothing-text-antialising-in-internet-explorer-7","status":"publish","type":"post","link":"https:\/\/capsule.org\/blog\/remove-font-smoothing-text-antialising-in-internet-explorer-7\/","title":{"rendered":"Remove font-smoothing\/text-antialising in Internet Explorer 7"},"content":{"rendered":"<p>You could think this is not possible without messing up with IE7 preferences.<\/p>\n<p>Well, I&#8217;ve just accidentally discovered you can actually do it using CSS only. Here&#8217;s the trick:<\/p>\n<p>In the very last CSS file you load, insert<\/p>\n<p><code><br \/>\n*\t{<br \/>\n\tfilter: none;<br \/>\n}<br \/>\n<\/code><\/p>\n<p>Reload your page and see the magic happen.<\/p>\n<p>If you want to remove the smoothing from a specific element, use any other CSS selector. Don&#8217;t forget to add * at the end of it to match all contained children as this doesn&#8217;t seem to be an inherited property.<\/p>\n<p>You&#8217;ll also notice this &#8220;hack&#8221; gives layout to the element. It&#8217;s sometimes even more stronger than the usual zoom:1 or min-height:0!<\/p>\n<p>Happy hacking!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You could think this is not possible without messing up with IE7 preferences. Well, I&#8217;ve just accidentally discovered you can actually do it using CSS only. Here&#8217;s the trick: In the very last CSS file you load, insert * { filter: none; } Reload your page and see the magic happen. If you want to <a class=\"read-more\" href=\"https:\/\/capsule.org\/blog\/remove-font-smoothing-text-antialising-in-internet-explorer-7\/\">&hellip;&nbsp;<span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/capsule.org\/blog\/wp-json\/wp\/v2\/posts\/978"}],"collection":[{"href":"https:\/\/capsule.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/capsule.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/capsule.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/capsule.org\/blog\/wp-json\/wp\/v2\/comments?post=978"}],"version-history":[{"count":1,"href":"https:\/\/capsule.org\/blog\/wp-json\/wp\/v2\/posts\/978\/revisions"}],"predecessor-version":[{"id":979,"href":"https:\/\/capsule.org\/blog\/wp-json\/wp\/v2\/posts\/978\/revisions\/979"}],"wp:attachment":[{"href":"https:\/\/capsule.org\/blog\/wp-json\/wp\/v2\/media?parent=978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/capsule.org\/blog\/wp-json\/wp\/v2\/categories?post=978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/capsule.org\/blog\/wp-json\/wp\/v2\/tags?post=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}