The only place I ran into a problem with the background position was using sprites for the menu on this site: http://thebrokenfamilyband.com I needed to use pixels for left and top values so didn't try 'center', maybe it would work. In the end I just used a conditional comment stylesheet to deliver IE6 a text only menu instead. The beauty of the script was not needing to set the filter on numerous elements as it searches for all PNGs and fixes them, but as mentioned it does require JavaScript as a small disadvantage. If you only want 1 or 2 PNGs then the filter is probably lighter. J
________________________________ From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Brett Patterson Sent: 29 April 2009 18:00 To: wsg@webstandardsgroup.org Subject: Re: [WSG] Background image not visible in ie Have you used the CSS: background-position: center center; ? -- Brett P. On Wed, Apr 29, 2009 at 12:48 PM, Ben Dodson <b...@bendodson.com> wrote: It does of course require JavaScript which isn't strictly necessary as you can get the same effect with just CSS (especially for the purposes of the example given initially). With regards to background image positioning, I'm fairly sure there is no way to stop it going to position (0,0) as that's how the Microsoft Filter works. Ben --- e: b...@bendodson.com w: http://bendodson.com/ Feeling social? Connect with me on various social networks at http://social.bendodson.com/ - You might also want to follow me on Twitter at http://twitter.com/bendodson On 29 Apr 2009, at 13:46, James Leslie wrote: The guys over at unit interactive also have a help script to help fix the issues with transparent PNG images in IE6. http://labs.unitinteractive.com/unitpngfix.php I highly recommend this script.... very handy and concise. The one problem I have noticed with it is that it doesn't respect background position on background images - everything goes to (0,0) . If this is ok, it is a great solution and can of course be applied via a conditional comment meaning no superfluous code for 'decent' browsers. James ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************