Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8706565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:38:42+00:00 2026-06-13T03:38:42+00:00

Ok, this will probably be simple to resolve, but I am a graphic designer

  • 0

Ok, this will probably be simple to resolve, but I am a graphic designer & not a developer so wondering if someone can help me out. I have played around with positions but not such luck.

So I have a header div with a backgroud image within it, but when I preview the html/css on ebay the background image within this div appears at the top of the browser (conflicting with the ebay standard header) & not being positioned relative to the container div it is placed in. So basically the bg image is outside the div. I need it to be contained with the div I want it in.

Any help would be appreciated. (This may be a repetitive topic, so sorry about that)

Code:

<div id="HeaderContainer">
  <div id="BGHeader"></div>
</div>

    #HeaderContainer{
        position:relative;
    }

    #BGHeader {
        position:absolute;
        top:0;
        height:420px;
        width:100%;
        background-image:url(imagehere.jpg);
        background-repeat:repeat-x;
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T03:38:44+00:00Added an answer on June 13, 2026 at 3:38 am

    You should post your html and css. At least the relevant parts. But having not seen them I would say my best guess is you’re using absolute positioning on the header.
    You need to wrap that in another element that’s relative positioned.

    <div id="container">
        <header>header here</header>
    </div>
    

    where your css is like so:

    #container{
        position:relative;
    }
    
    header{
        position:absolute;
        top:0;
        left:0;
    }
    

    If I’m wrong about your needs or situation let me know and I can update.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This will probably be obvious but I can't find the best way. I want
Guys, this probably will be fairly simple, but how am I able to find
It will be probably a simple problem, but I have been staring on this
This will probably be a bot of a waffly question but ill try my
This will probably be just another unsolved thread but i'll fill in some info
It probably isn't even possible to do this, but I will ask anyway. Is
This will probably seem like a really simple question, and I am quite confused
This will probably be an extremely simple question. I'm simply trying to remove duplicate
Dang-I know this is a subjective question so will probably get booted off/locked, but
This is probably simple, but I'm unsure of which tools to use for the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.