My apologies if this has been answered already. I can't figure out how
to retrieve my password in order to search the archives.
I'm working on a site that uses a lot of transparent PNGs for the
navigation. Obviously, this requires that i use the AlphaImageLoader
filter for IE. However, i'm struggling to come up with a replacement
method that will also ensure that the links are clickable.
Elements to be replaced are either anchors with class="ImageReplace",
unordered lists with same, or anchors inside a div with same.
I'm using the Malarkey method, which seems to work fine in Better Browsers:
.ImageReplace, .ImageReplace li { letter-spacing: -1000em !important;
background-repeat: no-repeat;}
But, because the links are no longer clickable in IE, i added:
.ImageReplace, .ImageReplace a { display: block; width: 100%; height:
100%; }
I thought i'd found a way that would work, and so wrote up some quick
javascript (run only for IE) to wrap the text content in a span. I'm
also feeding IE its own style sheet. I've confirmed on a test page that
the spans are being added. However, the links remain unclickable.
So, i'm wondering if anyone can point me to a replacement method that:
a) works in IE
b) does, or does not, require an extra span
c) works with transparent PNGs.
brian
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/