|
Posted by Bergamot on 12/28/06 13:54
Jeff Bowman wrote:
> "Bergamot" <bergamot@visi.com> wrote in message
> news:4v5635F1ak9dqU1@mid.individual.net...
>> Jeff Bowman wrote:
>>>
>>> Maybe I should be asking instead if there's a way to stretch a background
>>> image?
>>
>> About the best you can do is anchor the image to either the top or
>> bottom corner and repeat-x.
>
> How do you mean 'anchor'?
background-position
> Also, IE (7, at least) seems to have a nasty habit of displaying solid
> images of a given color in just a tad different shade than an element's
> background color, even if the markup specifies the exact same color as the
> image.
I hadn't noticed this, but that doesn't mean it doesn't happen. Of note,
however, is an issue with png gamma correction differences between PC
and Mac. I suggest google for more info on that subject.
> I then tried the AlphaImageLoader fix suggested, and that works, but
> unfortunately it causes IE6 to not respect the image positioning CSS.
Didn't they include a link to a MS reference page for AlphaImageLoader?
http://msdn2.microsoft.com/en-us/library/ms532969.aspx
It doesn't have an option to tile backgrounds, so the CSS background
position and repeat properties are irrelevant. This filter usually
stretches the background, which by chance is what you originally wanted. :)
I haven't used the Gradient filter, but you might want to look at it as
an alternative.
> I can think of no
> other solution than to emit table markup (for <= IE6 browsers only).
I don't see how this will help, but I can see how it may create other
problems. Caching comes to mind.
--
Berg
Navigation:
[Reply to this message]
|