Jump to content

[HELP] DIV CODE PROBLEM!


MustiC

Recommended Posts

Hello freaks,

 

I have put a background on my website, but the background appears on the front. I want to put this background on the back.

 

This is my DIV code in the .css file!

 

#logo_game {
  background-image: url("/images/bg.jpg");
  background-repeat: no-repeat;
  position: absolute;
  height: 457px;
  width: 951px;
  top: 0px;
  left: 50%;
  margin-left: -700px;
  z-index: 1;
}

 

How can I fix it that the background will appear in the Back of my site.

 

I hope some of you can help me out with this!

 

Regards,

 

MustiC

Link to comment
Share on other sites

Not working :S

 

It is the same.

 

#EDIT.

 

I think that the Position code is wrong, cuz when i type relative instead of absolute the picture appears in the top.

 

What should i put into the position code to get the background to the back??

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.