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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:46:11+00:00 2026-06-09T14:46:11+00:00

I am currently working with images and backgrounds css positions. I have been struggling

  • 0

I am currently working with images and backgrounds css positions. I have been struggling trying to get the same image appear beside(left/right) the the content area. I am trying to have the image position not be affected with pagee re size .

How can i get the same picture to appear beside the content area? EXAMPLE

This what I am aiming for:

This is What I am aiming for

  • 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-09T14:46:13+00:00Added an answer on June 9, 2026 at 2:46 pm

    Here’s my stab at it. I used an absolutely positioned div positioned in the center to contain the images and then used position relative to get them to specific pixel positions to either side. The trick is that if you don’t use relative positioning, they are on top of one another so you have to apply a top: equivalent to the height of the image to one of them to get it to shift to match.

    HTML:

        <div id="image_container">
            <div id="img_r" class="outside_image">
                <img />
            </div>
            <div id="img_l" class="outside_image">
                <img />
            </div>  
        </div>
    

    CSS:

    #image_container{
      position: absolute;
      top: 0px;
      left: 50%;
      width: 0px;
      z-index: 900; /* not really required */
    }
    
    .outside_image img{
      width: 200px;
      height: 200px;
    }
    .outside_image {
        position: relative;
    }
    #img_r{
      float: right;
      right: -725px;
      top: 200px;
    }
    #img_l{
      float: left;
      left: -725px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the code I'm currently working with: http://jsfiddle.net/gEMCm/ I'm trying to make an image
Hey all i have a JSFiddle that i have been working on with trying
I am currently working with css sprite images for my site. But I am
I'm currently working on a page that loads several images sequentially using setTimeout and
I'm currently working on an app that allows the user to draw pixelated images
I am currently working on a sort of image processing tool that will contain
I'm currently working on a web site that will show kind a image gallery
Good Day, I have been trying various methods both found on here and in
I'm new to stack overflow, but I've been working with CSS for about a
I am working with CSS sprites and the jQuery plugin spritely . I have

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.