You are here: Re: Setting DIV Height « HTML « IT news, forums, messages
Re: Setting DIV Height

Posted by Jeff Bowman on 01/13/07 02:17

"Bergamot" <bergamot@visi.com> wrote in message
news:4vi0m0F1b88gdU1@mid.individual.net...

>> How do you mean 'anchor'?
>
> background-position

Ah, OK.

I wasn't ignoring your reply, really--my Usenet provider didn't pick it up.
(Easy to blame it on someone else, eh? <s>)

Anyway, I just switched providers. This new one seems to be a little better.



>> 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've worked around the issue by generating a solid-color image the same size
as the corner images, and repeating it across the background. For a solid
fill, that is--for a gradient fill it gets handled differently of course.



> Didn't they include a link to a MS reference page for AlphaImageLoader?
> http://msdn2.microsoft.com/en-us/library/ms532969.aspx

Good link, thanks. RTFM is always better than flying blind.



> This filter usually
> stretches the background, which by chance is what you originally wanted.
> :)

Nice accident :-)



> I haven't used the Gradient filter, but you might want to look at it as
> an alternative.

Yes, I'll have a look.



>> 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.


That's the only way I can find to position the transparent PNGs when using
the AlphaImageLoader filter. Can you think of another?

It already has created a problem. On a browser text resize it stretches the
overall size of the layer(s), while the same resize doesn't do so on a
div--the text spills out past the div's edges. Again, the control only emits
table markup for <= IE6 gradient fill configurations, so that serves to
mitigate the problem somewhat.

Caching? How would that apply? Could you clarify?

Here's the link again:

http://jeffbowman.com/boxtest/

Thanks.




--
We're losing America. To see how you can help
get her back, visit www.FreedomToFascism.com.




--
Posted via a free Usenet account from http://www.teranews.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация