Jump to content

[SOLVED] body background image staggered with header?


FaT3oYCG

Recommended Posts

Hi im currently making a site for someone at the moment but i'm having a problem with the css, i'm no css specialist hence why the user chose a free template that i have modified slightly to suit the users requirements.

 

My problem is that the background image of the body that is styled with css is staggered from the background image of the main part of the page and looks as if it is part of the header in some way but i dont know what is wrong or how to fix this as im not good at css.

 

here is the site:

http://talk-tech.tk/

 

if you need to see any of the css code just point me towards which part you may need to help as its a pretty big file.

 

Thanks for any help

 

Craig

Link to comment
Share on other sites

From what I see you need to adjust the position of the background image for your body tag.

 

In your CSS change

body {
background: #f3ebe0 url(bg.gif) repeat-x;

 

to this:

body {
background: #f3ebe0 url(bg.gif) 0 -105px repeat-x;

 

NOTE: You if you change the size of the header later on you will need to adjust the postion of the background image again).

 

 

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.