You are here: Re: background image with width=100% « HTML « IT news, forums, messages
Re: background image with width=100%

Posted by dorayme on 10/23/06 20:25

In article <-p6dnRG5nNpmVaHYRVnyrQ@eclipse.net.uk>,
"John" <john1949@yahoo.com> wrote:

> Hi
>
> I have an HTML image whichwill stretch the width of the screen. No
> problems.
> <img src="castle.jpg" width="100%">
>
> However, I now want to make it a background image using CSS.
> Is there anyway of stretching the background image as in the HTML img
> construct?
>

Not in the straightforward way you can with <img..> in the
foreground with almost any pic. With background, you can give the
illusion with some pics by use of repeat in the horiz direction.
But they have to be special pics that seem just wider when
repeated. There are better examples than a plain blue sky! A
while back Morgenstein or someone from Germany (he rides motor
bikes) posted one of his efforts that looked quite good. (Where
the hell is he, I am fed up of people leaving)

--
dorayme

 

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

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