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

Posted by David Graham on 01/07/44 11:41

"David Dorward" <dorward@yahoo.com> wrote in message
news:dubq4k$f33$1$830fa7a5@news.demon.co.uk...
> David Graham wrote:
>
> > "The 50% 0 bit refers to the positioning of the background image
>
> > I thought this would move the image over 50% from the left edge,
resulting
> > in no image being present down the left half of the screen.
>
> No. It puts the point $x% along the image $x% along the horizontal length
of
> the container. So 100% would put the right hand edge of the image along
the
> right hand edge of the container. 10% would put the put 10% along the
image
> 10% along the container. And so on.
>
One more thing comes to mind, if the background image is wider than the
container - lets say the screen resolution is 800px maximised and the image
is 1200px wide, would a 50% 0 image have its extreme left and right sides
cropped in a symmetrical fashion, or would the image shrink itself to
display all the image inside the container.
bye
David

 

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

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