You are here: can you stretch a background image? « HTML « IT news, forums, messages
can you stretch a background image?

Posted by John on 10/06/06 14:15

Hi

I have the following image which will stretch at the bottom of the page.

<img src="castle.jpg" width="100%">

However what I really want is an image that I can print over - ie the image
is background.

The following is in CSS

body { background: white url(castle.jpg) no-repeat bottom centre; }

but there is no "width=100%" in CSS.

Is there a way in pure HTML?

Regards
John

 

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

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