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 6629859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:19:16+00:00 2026-05-25T22:19:16+00:00

In Html I’ve this code <div class=page> <div id=header> … </div> </div> And here

  • 0

In Html I’ve this code

<div class="page">
        <div id="header">
            ...
        </div>
</div>

And here is my css

.page {
    width: 1028px;
    background-color:#103250;
    margin-left: auto;
    margin-right: auto;
}

#header
{
    background:url('/Img/SubpageBox1.png') no-repeat top;
    height:150px;
    padding-top:50px;
}

But now my background-image is placed out of div… On the top of the page… How can I place it on the top of the header?

  • 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-05-25T22:19:17+00:00Added an answer on May 25, 2026 at 10:19 pm

    You can specify the position of the background image:

    background:url('/Img/SubpageBox1.png') no-repeat center 50px;
    

    or using background-position css property.

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

Sidebar

Related Questions

html: <div class=no-contact-info> <textarea></textarea> <span>no contact info</span> </div> css: .no-contact-info { width: 400px; }
HTML <div id=header>top of page</div> <div class=message>hello, how are you</div> <div class=message>I am fine</div>
HTML: <td align=center width=100%> <a class=Forum_ib_moderate href=Default.aspx title=Moderate></a> <a class=Forum_ib_admin href=Default.aspx title=Admin></a> ... CSS:
Html <div id=video></div> <p class=coordspls>Too much overflow!</p> Pseudo Code: Get x position of .coordspls
Html looks like: <div class=ticker> <div class=news-heading>Latest News:</div> <span class=active_ticker><a href=#> 1] Lorem ipsum
HTML code- <form> .... <a class=art-button href=edit.php >Edit</a> <a class=art-button href=# onclick=show_confirm()>Delete</a> </form> JavaScript-
HTML <div id='accordion'> <h5>Header 1</h5> <ul> <li>section 1 content visible</li> <li> <div id=showhide> <textarea
html: <html> <head> <title>Home</title> <link rel=stylesheet type=text/css href=qa.css /> </head> <body> <div id=wrap></div> </body>
HTML: <div> <img src=image.png /> </div> JS: $(div img).animate({opacity:.5}, 200); This js works good
HTML Sorted it for seo <div class=content>Content</div> <div class=nav1> <ul> <li>nav 1</li> <li>nav 2</li>

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.