Current location: Hot Scripts Forums » General Web Coding » JavaScript » [SOLVED] Force ClearType off in IE7


[SOLVED] Force ClearType off in IE7

Reply
  #1 (permalink)  
Old 04-06-08, 05:22 AM
s1yfa's Avatar
s1yfa s1yfa is offline
Newbie Coder
 
Join Date: Dec 2005
Location: Sheerness, Kent UK
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Force ClearType off in IE7

Hi Guys,

I know Javascript can be used to manipulate browsers to a certain extent, but is it possible to force cleartype off in IE7 when a visitor views my site using javascript?

I basically want to run a browser detect script, and if it comes back as anything but IE7 it will do nothing, but if IE7 is detected it prevents text from being cleartype'd.

I have had a hunt about and Google'd for a while but the best I can see are scripts that play about with anti aliasing, but this is not really what I need, is it?

I really do despise cleartype, it totally messes up my layouts and I dont really want to have to make two versions of my site, one for IE7 users that displays correctly and another for everyone else.

Or is there something I can do with my css files to tell IE7 to quit mucking around with my site?

Any help would be greatly appreciated.

Chris
Reply With Quote
  #2 (permalink)  
Old 04-06-08, 05:29 AM
s1yfa's Avatar
s1yfa s1yfa is offline
Newbie Coder
 
Join Date: Dec 2005
Location: Sheerness, Kent UK
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Actually, not to worry. I just found this (when I mentioned CSS in my original post something clicked with me!!!):

from http://www.duluoz.com/?p=12

Code:
filter:alpha(opacity=100);
opacity: 1.0;
background-color: white;
Hopefully this will be of use to others though
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 11:37 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.