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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:29:15+00:00 2026-05-25T21:29:15+00:00

I have this page which has this this CSS body { background-image: url(images/BACKGROUND5.jpg); background-repeat:

  • 0

I have this page which has this this CSS

body {
  background-image: url("images/BACKGROUND5.jpg");
  background-repeat: no-repeat;
}

and two divs

#borderleft {
  background: none repeat-y scroll 0 0 #93A87D;
  clear: left;
  float: left;
  margin-left: -10px;
  margin-top: 610px;
  visibility: visible;
  width: 70px;
  z-index: 2;
}

#borderright {
  background: none repeat-y scroll 0 0 #93A87D;
  clear: right;
  float: right;
  margin-left: -10px;
  margin-top: 610px;
  position: relative;
  visibility: visible;
  width: 70px;
  z-index: 2;
}

here is the HTML

<body>
<div id="borderleft"></div>
<div id="borderright"></div>

any ideas on how to make image in the center and the green background: none repeat-y scroll 0 0 #93A87D; on the outsides

  • 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-25T21:29:16+00:00Added an answer on May 25, 2026 at 9:29 pm

    One good way to do this kind of layout, when the width of both border columns is fixed, is this.

    The elements are:

    1. A container <div> with position: relative
    2. The border <div>s with position: absolute, fixed widths, and left: 0/right:0 respectively
    3. A “content” <div> with margin-left and margin-right equal to the width of the border <div>s.

    In the example I linked above there’s no container div (the <body> element plays that role), but you will need one if you want to be able to move this arrangement around on the page as a whole.

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

Sidebar

Related Questions

I have a page which has document.body.onload=function(){...} but this is suffering delays because the
I have a page which has a style like this in a css file:
I currently have the following CSS (called splash.css): html { background:url(splash.jpg) center no-repeat; background-size:auto
I have the following code: $('<div style=background-image:url(\'/images/a.gif\')></div>').appendTo('body') depending on where I am on a
This may sound a weird question, I have a page which has a link:
I currently have an HTML page that has a grey BODY background. Now I
I have a master page that has two content sections like this (left some
I have this html page which is very simple, it contains a text box
I have one master page which applies to all pages in this website. On
On my main page I have this jquery code which does an ajax call

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.