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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:23:52+00:00 2026-06-15T08:23:52+00:00

I am worknig on my css page trying to place a background image around

  • 0

I am worknig on my css page trying to place a background image around my website to bring more of a nice look to the overall project. In the css I included the background in the body, but as you can see it does not display on the website. I am confused as in why?
Below is CSS and the project website:

#header {text-align: center;}

#body { background-image:url('backgroundflower.jpg');}


#container {
    width: 960px;
    margin: 0 auto;
     background-color: #FAFAFA;
     color: #003300;
     font-family: Arial, Helvetica, sans-serif;

}

#h2 {text-align: center;}

#container {
            width: 960px;
            margin: 0 auto;
        }

        #container div {
            border: 1px solid black;
        }

        #header {}

        #left,
        #center,
        #right {
            float: left;
            margin: 10px 0 10px 20px;
            min-width: 200px;
        }

        #center {font-family: Josefin Slab; background-color: #FFFFFF;
            width: 494px;
        } 

        .clear {
            clear: both;
        }

#right { font-family: Josefin Slab;}

#left a {text-decoration: none;
         display: block;
         text-align: center;
         color: #FFFFCC;
         font-weight:bold;
         border: 3px outset #CCCCCC;
         padding: 5px;}

figure{}

#left a:link { background-color: #003366; }
#left a:visited { background-color: #48751A; }
#left a:hover {border: 3px inset #333333; }

#left ul { list-style-type: none;
          margin: 0;
          padding-left: 0; }

#footer { text-align: center; font-family: Audimat; background-color: #E1F5A9;
    clear: both; }

http://younani.com/finalsite/finalindex.html

Also, I made a customer banner and when I try to place in where it says Younani flowers, it will just stretch and actually go above the header, doesn’t fit. Is there a better way of placing an image for h1? If any more coding is needed to being provided let me know. Thank you.

  • 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-15T08:23:54+00:00Added an answer on June 15, 2026 at 8:23 am

    You have treated the body as an ID by putting a hash in front of it.

    #body { background-image:url('backgroundflower.jpg');}
    

    It should be:

    body { background-image:url('backgroundflower.jpg');}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to apply CSS styles to page elements that are dynamically inserted in
I am trying to use jQuery to animate the full-page (html) background by clicking
I'm trying to use CSS to create a 'greyed out' effect on my page
I'm trying to change my page's background when it goes to a new page
I'm using a fairly basic vertically expanding page layout in CSS, and I'm trying
Hi I'm trying to animate a background image using jQuery, I tried following this
I currently am working a CSS navigation system on my client's website at http://cjcdigital.net/clients/andrea
Why is my CSS not working? I'm trying to edit the margins for the
On a fiddle the css is working correct. On my website the 'roman' doesn't
Working on an AJAX website (HTML,CSS,JavaScript, AJAX, PHP, MySQL). I have multiple javascript functions

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.