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

Posted by David Dorward on 11/22/14 11:41

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.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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