X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Background Image keeps moving (https://forum.x-cart.com/showthread.php?t=30046)

MMANOR 03-27-2007 06:21 PM

Background Image keeps moving
 
Good Evening All,

I have a quick question regarding background images. As you will see from these two pages:
http://www.mourningnightmares.com/x-cart/xcart/home.php
http://www.mourningnightmares.com/x-cart/xcart/giftcert.php

The image imbedded into the background moves.

This is how i have it in the style sheet:

Quote:

BODY { background: #434141 url(images/backgroundimage.jpg) no-repeat center;

Could anyone tell me why the image moves between screens?

balinor 03-27-2007 06:30 PM

Re: Background Image keeps moving
 
It is centering on the height...you need to align it to the top.

Moving to Template Editing.

More-Japan 03-28-2007 08:23 AM

Re: Background Image keeps moving
 
Quote:

Originally Posted by balinor
It is centering on the height...you need to align it to the top.

Moving to Template Editing.


yup. it adjusts to the 'center' command so..when everything starts to load on the page..the background image starts to adjust to it. as balinor said, just have the vertical alignment to the top then have the horizontal alignment centered.


All times are GMT -8. The time now is 02:36 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.