You are here: background-position defaults « HTML « IT news, forums, messages
background-position defaults

Posted by JL on 09/12/07 13:55

Hi

Suppose I have a 100px container and a 100x1 pixel background image that
I want to repeat-y down the container. My question is, can I be
confident that *all* browsers will position the background image at the
far left of the container if I omit any background-position property? Or
should I specify 'left' to be on the safe side?

So, IOW, if I do this:

#container {
width: 100px;
background: #FFF shadow.gif repeat-y;
}

Will shadow.gif definitely be positioned against the left edge of the
container div in every visual browser out there, or should I throw in a
'left':

background: #FFF shadow.gif left repeat-y;

Thanks!

 

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

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