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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:30:46+00:00 2026-05-23T15:30:46+00:00

I want to add a torn, old page background image to my website. It

  • 0

I want to add a torn, old page background image to my website. It has uneven edges and the uneven edges have a drop shadow. Here is the image. Now how am I best adding this as my background image because at the moment is almost 1mg! I am trying to reduce it in photoshop but with it having transparency, there seems little I can do with this png.

I have also thought about having nested divs, so I made this structure:

 <div id="page-top">
        <div id="page-left">
            <div id="page-right">
                <div id="page-bottom">
                    <div id="page-content">

                    </div>
                </div>
            </div>
        </div>
    </div>

I then sliced up my image and used css to style it. But the page was ignoring the parent div and just overwriting it’s background image over the parent’s when I wanted it to start after the parent’s bg image, not overlay itself, it wasn’t paying attention to the parent’s div height.

Here is a screenshot of how my page looked with my body bg img of grass applied (just in case you were wondering where that came from!).

Here’s the css

body{
background:url('../images/bg1.jpg') repeat-x top left;
}

#page-top{
width:100%;    
background:url('../images/pagebgTOP.png') no-repeat top left;

}

#page-left{
background:url('../images/pagebgLEFT.png') no-repeat top left;
height:640px;
margin-top:20px;
}

#page-content{
width:100%;
 background:url('../images/pageBG.png') repeat top left;
}

What do you think the best way is to do this? Bearing in mind I need to be able to have a drop shadow on the image’s actual edges not the image’s boundary box. PLus, it needs to be a lot smaller.

  • 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-23T15:30:47+00:00Added an answer on May 23, 2026 at 3:30 pm

    Divide this image into to separate ones.

    1. Jpeg with the inside. It can be compressed pretty efficiently – experiment with compression, you can go down to 60 or even 50 with satisfying results.
    2. png with just uneven parts and shadows and transparent rectangle in the middle.

    Set the png one as background of outer wrapper, and jpg for the inner.

    The extra HTTP request is well worth the image size you save. To go one step further – if you’re good with Photoshop you can try to make seamless tile for the inside, but it’s not gonna be easy.

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

Sidebar

Related Questions

I have a website built with ASP.NET (3.5) and want add some level of
I have 2 lists on one page - http://jsfiddle.net/nalsur/CneTJ/ And now I want add/create
I want add my custom sidebar next right column all page. Please check this
I have a list of string values that I want add to a hashtable
I have problem, when I want add Node to my GUI from other Thread.
I have numbers in javascript from 01(int) to 09(int) and I want add 1(int)
I have libTestLibrary.so library and I want add it to Android-emulator's lib folder. How
Why i have an error in my web.xml when i want add servlet..? <servlet>
I have created a shortcut of my .exe file. I want add to '.exe'
I build my action for create image thumbs, and I want add to 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.