Last weekend I had the same questions. (http://www.sparkt.com/index.htm)
I ended up using a stretching methodology: width: 100% on the fade across
the top.
And height: 100% for the shadowed borders of the content.

Surprisingly, (or not) I found that most of my needs to repeat background
PNGs can be solved with this method.

Hope this helps a little.

Glen

On 6/4/07, pd <[EMAIL PROTECTED]> wrote:


Klaus is a legend. The solution to scale the background works very
well for me.

Perhaps the author of the jQuery PNG hack plugin (khurshid?) here:

http://khurshid.com/jquery/iepnghack/

could code a flag option to cater for this? I simply edited the
following in the 'hack' and it worked:

Before:

                filter : function(src) {
                        return
"progid:DXImageTransform.Microsoft.AlphaImageLoader
(enabled=true,sizingMethod=crop,src='"+src
+"')";
                }

After:

                 filter : function(src) {

                        return
"progid:DXImageTransform.Microsoft.AlphaImageLoader
(enabled=true,sizingMethod=scale,src='"+src
+"')";

                 }


Interestingly changing the sizingMethod parameter hasn't effected the
way the 'hack' treats PNg images that I don't want to be 'repeated'.
Hence I didn't need to make it a variable though I think the 'hack'
plugin could benefit from being set up to allow 'toggling' of this
parameter for situations different to mine.

I'll drop the author a line.


Reply via email to