I just found a new method of PNG support (http://www.dillerdesign.com/experiment/DD_belatedPNG/) and the great thing about it is it supports background-position and background-repeat and supports the A:hover pseudo-class.
As this is a new method of support for PNG images I wanted to make the community aware. Do you believe this is a better method than currently used?
Comments
Comment #1
mrjeeves commentedCurrently the Twinhelix system is already setup to implement A:hover pseudo-classes, I have simply not included that library or mention of it. Your post has convinced me to include the instructions for properly installing the A:hover support.
PNG Behave! already supports all css background styles.
I have reviewed the DD_belatedPNG script and find the following:
/*******
<IMG/>elements must take onvisibility:hidden;, and thus become unclickable. I see no workaround other than using clear pixel GIF replacements, and that is code that I am not going to write.<INPUT type="image"/>nodes are not supported. The node with the original PNG SRC must take onvisibility:hidden;*******/
Since PNG Behave does not share these issues, I will only be installing the A:hover support instructions with the next update. If I have missed or overlooked something, please let me know.
mrjeeves.
Comment #2
SeanBannister commentedThanks mrjeeves,
I didn't realize that the Twinhelix IE PNG Fix v2.0 Alpha 3 supports ackground position and repeat because v1.0 didn't. This is great news.
Comment #3
rembrandx commentedAny news on when the next update (including the a:hover support) might be?
It's just what I need for a navigation-effect I'm trying to accomplish.
Comment #4
smithn.nc commentedJust wanted to chime in briefly here, and mention that the DD_belatedPNG support for repeating backgrounds seems a bit more robust than the current solution being used by PNGBehave. I'm using a lot of different PNG backgrounds with repeat-x or repeat-y, and I couldn't get them to render properly in IE6 until I tried belatedPNG instead.
Perhaps "robust" was being too kind. Looks like belated has its own issues sometimes with backgrounds on floated divs (like the Zen theme uses for sidebars). Either way, belated is still a better fit for my project. I just don't want to mislead anyone into thinking it'll fix all their problems. :)
Comment #5
mrjeeves commentedAfter far too long, I am finally preparing a new release of the project. While this new version is in dev, would you be able to give me some more specific instances you are having issues with? Please post these Background repeat and position issues in a new topic. Thanks again.
Comment #6
portulacaIs the :hover fix in the dev version? What's the update on this?
Comment #7
mrjeeves commentedfor those interested, i have lost my dev notes on the hover issue and will have to re-open this if anyone is wanting that still.
Comment #8
mrjeeves commentedComment #9
mrjeeves commented