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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:18:13+00:00 2026-06-15T07:18:13+00:00

I need to set a background for my website so that each web form

  • 0

I need to set a background for my website so that each web form child of the master page would show the background image.
I’ve googled it and found a few answers but they didn’t do anything.
I am attaching my Master Page html code and an image showing the background I want:

    <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="Pages_MasterPage" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Qwik ProjecTrace</title>
    <asp:ContentPlaceHolder id="head" runat="server">
    </asp:ContentPlaceHolder>

    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            text-align: center;
            font-size: 40pt;
            color: #0066CC;
        }
        .style3
        {
            font-size: x-large;
        }



        body
        {
            background:url('/style/images/IMS-Backgroung.jpg') no-repeat left top;
        }





</style>
    <link href="../Style/site.css" rel="stylesheet" type="text/css" />


</head>
<body>
    <form id="form1" runat="server">

    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>

    <table class="style1">
        <tr>
            <td runat="server" style="direction: ltr">
                <asp:Image ID="mes1" runat="server" style="text-align: left" />
            </td>
            <td class="style2">
                <strong style="font-size: 40">Qwik ProjecTrace<br />
                <span class="style3">you see what we do 24/7</span></strong></td>
            <td runat="server" style="direction: rtl">
                <asp:Image ID="mes2" runat="server" style="text-align: right" />
            </td>
        </tr>
    </table>
    <div>
        <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

            <p></p>

        </asp:ContentPlaceHolder>
    </div>
    </form>
</body>
</html>

Here's the path to the background image:

Does anyone know what is wrong with my code ? And how to set that background?

Thanks ahead

  • 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-15T07:18:15+00:00Added an answer on June 15, 2026 at 7:18 am

    Here’s the code solution (It seems that in my case, I had some kind of a problem with the containing folders):

    body
        {
            background-image: url('../style/images/Background.jpg'); 
            background-repeat:no-repeat;
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Android Button: set onClick background image change with XML? I need that
I'm drawing an image using rgb pixel data. I need to set transparent background
i need to set image as background in android gridview. I have code which
I need to set a background image in my program. The structure of the
I am new to windows mobile. I need to set a background image for
I need to set the image height everytime I'm using background: url('images/something.jpg')[..]; Fe. HTML:
We need to set background image of a table. One way is to set
LaTeX newbie here. I need to set background color for all my \subsection titles.
Context: I have a photo-uploading website set up. I need to perform operations on
please help me to style this list , I need to set different background

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.