You are here: Re: Stretch a <TABLE> background image to fill the entire cell « HTML « IT news, forums, messages
Re: Stretch a <TABLE> background image to fill the entire cell

Posted by David Dorward on 07/12/06 22:05

Water Cooler v2 wrote:

> I want to stretch the image so that it fills the entire cell width and
> height. How do I do that?

Background images don't scale in current versions of CSS. Something might be
possible in CSS 3.

As a horrible hack it may be possible to scale a foreground image and use
z-index to position it behind content - but this tends to lead to nasty
results when CSS is unavailable.

Browsers suck at scaling images anyway.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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