Page 1 of 1

background image

Posted: Thu Feb 21, 2008 8:53 am
by shaqa
im haveing problem with backgorund image,
im using this css code below for my backgroung but it start again to show the iamge for backgroung from begining,
take e look at the screenshot:

http://allyoucanupload.webshots.com/v/2 ... 6349340815

image for backgorund:
http://allyoucanupload.webshots.com/v/2 ... 4485966626

Code: Select all

body {
    margin: 0px;
    padding: 0px;
    background: url(images/homepage.bg01.jpg) repeat left top;

Re: background image

Posted: Thu Feb 21, 2008 10:42 am
by pickle
I'm not 100% sure what your problem is, but it seems like it's repeating & you don't want it to. You can change the 'repeat' in your CSS to 'no-repeat', 'repeat-x', or 'repeat-y' in order to have it not repeat, only repeat on the x-axis, or only repeat on the y-axis respectively.

Re: background image

Posted: Thu Feb 21, 2008 3:31 pm
by shaqa
take a look at thebegin of the first image the small backroung image[sec image for background] start again to repeat!!!

Re: background image

Posted: Thu Feb 21, 2008 5:28 pm
by Inkyskin
Have you actually tried to do what Pickle said?

Re: background image

Posted: Fri Feb 22, 2008 4:43 am
by shaqa
im using repeat for x-axis but is same problem!

Re: background image

Posted: Fri Feb 22, 2008 6:11 am
by matthijs
You need to explain your problem better. It's not clear what the problem is.

As explained before: use repeat-x for repeating along the x-axis. If you don't want it to repeat use no-repeat.

Re: background image

Posted: Fri Feb 22, 2008 1:18 pm
by shaqa
yes i use and it work but my problem explain ,: at the end of page i see a "blank or white rectangle" maybe can be problem at the size of background image!!!

Re: background image

Posted: Fri Feb 22, 2008 2:16 pm
by pickle
That's probably right - set a background colour too.

Re: background image

Posted: Fri Feb 22, 2008 8:40 pm
by shaqa
my background isnt same color!
it have some effects!

Re: background image

Posted: Sat Feb 23, 2008 8:22 pm
by JellyFish
shaqa wrote:my background isnt same color!
it have some effects!
I don't really know what your saying, your not explaining yourself correctly. But I do know that in order to set your background color you use the background-color css property.

Code: Select all

background-color: (color);
where (color) is replace with a css color value.

Re: background image

Posted: Sun Feb 24, 2008 4:29 am
by shaqa
here you go ,
i want to have second pic as First pic after i save as webpage from photoshop.

first pic:
http://aycu36.webshots.com/image/43715/ ... 844_rs.jpg

second pic:
http://allyoucanupload.webshots.com/v/2 ... 4936207608

Re: background image

Posted: Thu Feb 28, 2008 10:44 am
by JellyFish
I still understand see the problem. It's probably not a problem with a css or html of anykind, but photoshop. Sense I don't know anything about photoshop in great detial, but I do know what photoshop is, a painting application. So I strongly suggest that you learn html/css for web design rather then fully releying on a program.