I discovered a bug in IE today. If:
- You have headers (as in <h1>, <h2>, <h3>, etc) and…
- That header appears above another transparent area and…
- That headers has any transparency effects itself then…
- You get jagged edges
This is compounded by the fact that the area I was dealing with was a white box on top of the transparent text, so by all means the area “behind” the headers weren’t transparent. See screen shot to the right.
This is retarded. I have a simple fix for this problem. Simply add this to your CSS code:
/** this is a necessary work around for transparency to work with h tags.*/.container h1, .container h2, .container h3, .container h4, .container h5, .container h6 {background-color: white; // or whatever color you are working with}
Replace “container” with whatever area you need to fix.
This is only a problem in IE; Firefox handles things just fine.