So i have a page with a bunch of images. And I have a function which fades out these layers using IE's opacity filter through javascript.
Now when i fade in these elements. I have to set the particular element (which has the opacity filter applied to it) with a background image or a background color (to prevent anti-aliasing of clear type fonts, read this for more http://www.jonathancross.com/projects/Ugly_font_anti-aliasing_problem_in_Internet_Explorer_6_7_and_8.html).
Now my questions are:
- For a group of elements is there any better solution than a case structure for setting the background-image/background-color for each element?
- Some text-boxes are not seen properly and appear to merge with the overall background image set (The background layer consists of a 1x1 px image which is repeated where ever necessary)
Thanks in advance!