You are here: Re: background-image « HTML « IT news, forums, messages
Re: background-image

Posted by K A Nuttall on 01/12/07 22:08

marvin.avery@sdc-dsc.gc.ca wrote:

> If the background image is too small, it repeats. Instead of
> repeating, I would like it to *stretch* to fill the cell. Is there
> any way of doing this? Similarily, if the cell is too small, is
> there anyway of *compressing* the image so I still see the whole
> thing?

I would try something like setting the TD to relative position (and
make the image a foreground element instead of a background), and then
putting the content in an absolutely positioned box (positioned at
T0/L0); the image and contents can then be sized at 100%.

I don't know if that would work (I haven't tried it), but it's a quick
suggestion that might lead to a solution.

--
K A Nuttall
www.yammer.co.uk
Re-type the e-mail address how it sounds, remove .invalid

 

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

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