954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?

Disable ClearType IE4+

0
By umut78 on Mar 1st, 2010 12:47 pm

Thanks to the MS filter property that disables Cleartype while applying effects.Instructions:Paste the snippet to HEAD section of your document.
Paste this HTML to HEAD section of your document:

<style type="text/css">
.faded
{
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=90);
}
.okay
{
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=100);
}
</style>
Add these class, id and onload to your document's BODY: <body class="faded" id="no-cleartype" onload="disablecleartype();">
<script type="text/javascript">
/* Paste it to HEAD */
function disablecleartype()
{
document.getElementById('no-cleartype').className = 'okay';
}
</script>

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You