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

Posted by Bergamot on 12/23/06 17:07

Jeff Bowman wrote:
>
> Maybe I should be asking instead if there's a way to stretch a background
> image?

No, there isn't - all you can do reliably is repeat on the x and/or y
axis. Maybe CSS3 has a stretch property (haven't checked), but don't
hold your breath waiting for that.

About the best you can do is anchor the image to either the top or
bottom corner and repeat-x. Set the background color so that it blends
with wherever the gradient color leaves off.

BTW, there was an article posted at A List Apart about another way of
making gradient backgrounds, but I didn't save the URL. Maybe it will be
useful to you, if you can find it.

--
Berg

 

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

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