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

Posted by richard on 10/06/06 14:54

"John" <john1949@yahoo.com> wrote in message
news:vNydnRzaoLJ1-bvYRVnyug@eclipse.net.uk...
> 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

If I understand correctly, you would now use the z-index. Assigning it a
value of -1.
http://1-small-world.com/index2.html
Something like that?
BTW, there is no = in CSS, it is : .

height:50px; width:100%

 

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

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