On 8 Mar 2007, at 18:48:16, Keryx Web wrote:

Hi all!

Is it possible to get MSIE 6 to have a repeated alpha-transparent png
background? Check this page http://ne.keryx.se/~gorgnut/new_site/

It is made by a student of mine and the faded border is supposed to
stretch and the hacks for MSIE I know can't be used if the image gets
repeated.


Lars Gunther

No, there's no way with CSS to get AphaImageLoader to repeat the image, nor can it be positioned anywhere other than the top left of the element it applies to.

It can be made to scale to the size of its element; check the MSDN documentation at <http://msdn.microsoft.com/workshop/author/filter/reference/filters/ alphaimageloader.asp>, particularly the example at the end of using the "sizingMethod" property.

This means that, if applied to an element of the same width as the image, it could be made to automatically scale to the height of the block, giving the illusion of repeat-y in the case of an image like this.

(Similarly, a block with the correct height could be used to mimic repeat-x.)

Regards,

Nick.
--
Nick Fitzsimons
http://www.nickfitz.co.uk/





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to