Jump to content

Recommended Posts

Posted (edited)

Hello guys,

 

i have an urgent problem. I want that the bg and the items on the bg are fixed and have nice high resolution when ppl open the website but somehow the bg doesnt get diplayed fully aswell as when you minimize the browser window the items (pics) on the bg are moving.

 

Here is the CSS

body {
    background-image:url(img/bg.jpg);
    background-repeat:no-repeat;
    background-position:center top;
    background-color:#0d0c08;
}


h2 {
    font-size: 14px;
    color: #A36075;
    margin-top: 640px;
    margin-left: 290px;
    padding: 40px;
}

#img {
    position: absolute!important;
    right: 50%;
    width: 175px;
    height: 175px;
    margin-top: -85px;
    margin-right: -85px;
    top: 460px;
}

#low {
    position: absolute!important;
    right: 50%;
    width: 175px;
    height: 175px;
    margin-top: 120px;
    margin-right: 295px;
    top: 400px;
}

#high {
    position: absolute!important;
    right: 50%;
    width: 175px;
    height: 175px;
    margin-top: 120px;
    margin-right: -177px;
    top: 400px;
}

#forum {
    position: absolute!important;
    right: 50%;
    width: 175px;
    height: 175px;
    margin-top: 140px;
    margin-right: -110px;
    top: 560px;
}

 

would be nice if someone can help

Edited by Lin2Hektor
Posted (edited)

You need to give us your website URL so we can use inspect element.

 

Also try this one

body {
background-image:url(img/bg.jpg);
background-repeat:no-repeat;
background-position:center top;
background-color:#0d0c08;
background-attachment: fixed; 
}
Edited by Aphelion

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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