You are here: Re: Help Positioning a background image « HTML « IT news, forums, messages
Re: Help Positioning a background image

Posted by dorayme on 12/11/06 01:13

In article
<1165797231.048673.257970@73g2000cwn.googlegroups.com>,
westsidesally@gmail.com wrote:

> dorayme wrote:
> > In article
> > <1165795486.431793.189310@l12g2000cwl.googlegroups.com>,
> > westsidesally@gmail.com wrote:

> > > background-position:
> > > left
> > > }
> > > </style>
> > >
> > > I just have this placed inside the head, but I'm just not sure how to
> > > get the image itself to move over about 200px from the left???
> >
> > background-position: 200px 0px;
>
> That's great, thanks a lot. So, is the first number always meant to
> define from the left and the second from the top?

If this works to do what you want, it will always work this way.
It does not depend on the day of the week: on odd days, the first
is the vertical, on even, the horizontal ... <grin>


>
> Also, is it better to simply link a css document rather than just
> putting it all in the head?

Yes, if you have more than one or two css instructions, it is a
neater way to go, the css gets cached...

--
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

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