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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:16:24+00:00 2026-06-11T02:16:24+00:00

so I literally just copied and pasted this code from another directory of my

  • 0

so I literally just copied and pasted this code from another directory of my site, css and all, and the BG image is not showing. It just shows as white. I made sure to recreate the images folder in the new directory and reupload the background, but the background just doesnt show. Here is my CSS (with the bg image)

html,body {
    background: url(images/bg_body.png) ;
    font-family:Capriola;
        height:100%;
        margin:0;
        padding:0;
}

Here is my html:

<html>
<style>
html,body {
    background: url(images/bg_body.png) ;
    font-family:Capriola;
        height:100%;
        margin:0;
        padding:0;
}


</style>
<head>
<LINK REL=StyleSheet HREF="images/styles.css" TYPE="text/css" MEDIA=screen>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
        <link href='http://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
        <title>SeaJay Source</title>


</head>
<body>
<body>
<center><br><br><br><br><br><br><br><br><br><br>
<img src="assets/logo.png" />
<div id="posting" class="posting">
<div class="title" id="title" color="white">Login</div>
<div id="texts" class="texts">
Welcome to SeaJay Source!<br>
<form method="post" action="<?=$_SERVER['PHP_SELF']?>" >
Username: <input class="input" type="text" name="username" placeholder="Username" /><br>
Password: <input class="input" type="password" name="password" placeholder="Password" /><br>
<input class="button" type="submit" value="Login" /> <br>
</form>

</div>
</center>
</body>
</html>

As you can see, I tried to include the styling inside the html file also, but that didn’t work.

  • 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-11T02:16:26+00:00Added an answer on June 11, 2026 at 2:16 am

    from another directory

    That’s your problem, almost certainly.

    Always specify URLs relative to the root of your domain. It should look like url('/path/to/image.png')

    URLs in CSS can be confusing, since some thing use the HTML file’s location as a base, and others use the CSS file’s location. It’s just easier all around to specify your URLs relative to a fixed base: the root.

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

Sidebar

Related Questions

Started looking at the win32 API on this site: http://www.winprog.org/tutorial/start.html I've literally just compiled
I've literally just started using the Unity Application Blocks Dependency Injection library from Microsoft,
Why does this not work at all for me? <script type=text/javascript src=Javascript/jquery-ui-1.7.2.custom.min.js></script> <script type=text/javascript
I have literally just started programing with Ajax and cant get this to work.
This question is pretty straight forward, I literally just want to stream video of
I've literally just started programming in assembly language this week and I'm having some
...and I mean LITERALLY just beginning. As in, I just started earlier today. All
I have literally tried every possible way on this but apparently I just can't
If a program has literally just deserialized an object (doesn't really matter how, but
I'm just wondering which method is the most effective if I'm literally just wanting

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.