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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:26:48+00:00 2026-05-26T16:26:48+00:00

Hi I am having problems positioning several images. It is very important that max

  • 0

Hi I am having problems positioning several images. It is very important that max height of the site stays at approximately 580 pixels as I want to give the impression of a picture frame around the site. I have attached a picture to show how exactly the site is laid out and where I want to position my images in the top, middle and bottom divs. I do not want to have them as background images because I want to have some as links and I want to have some jquery animations (i.e. fadeIn and toggle) with the other images. This is a fluid layout but I do not want the vertical width to expand when the browser is at the min width of 780px, I also would like that the images are some what centred on the page.

I am still learning CSS so I have done the best I can but it is still out of position.

Thanks for your help

Site Layout Picture
Site Layout Picture

.container {
width: 100%;
max-width: 1096px;
min-width: 780px;
margin: 0 auto;}

.header {
background:#231f20;
height: 65px;
}

.sidebar1 {
padding: 0px;
float: left;
width: 65px;
background: #231f20;
margin: 0;
min-height: 450px;}

.sidebar2 {
float: right;
width: 65px;
background:#231f20;
margin: 0;
min-height: 450px;}

.main_content{
padding: 0px;
width: 80%;
float: left;
}

.footer {
height: 65px;
background:#231f20;
position: relative;
}

HTML

<body>
<div class="container">
    <div class="header"></div> 

    <div class="sidebar1"></div> 

    <div class="main_content"> 
        <div class="top"></div>
        <div class=”middle"></div> 
        <div class=”bottom"></div>
        </div> 
    <div class="sidebar2"></div>
 </div> 
 </body>
  • 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-26T16:26:48+00:00Added an answer on May 26, 2026 at 4:26 pm

    Add position: relative to all the containing div’s (you may have to set the height of them to the height of the tallest image also). Then position all the images something like:

    .img1 { /* or whatever class name works for you */
        position: absolute;
        left: 50%; /* this centers it, if you want thirds, us 33%, 66%, etc. */
        margin-right: -50px; /* note: 50px is an example, it needs to be half the width of your image width */
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problems with my modal window positioning. I've been trying to use $(document).height()
im having problems starting a codeigniter project, the problem is that when i do
I'm having problems using textures that are larger than the OpenGL window or the
I'm having a couple of problems with this site. Actually it's my lack of
I am having problems overlaping two boxes. Should I use absolute positioning? z-index or
I'm having some positioning problems on my gallery page of my website. I haven't
I'm creating an drawing application with HTML5 canvas but is having problems with positioning.
A happy newyear to all! thanks for reading this! I'm having problems positioning dynamic
Having problems deserializing some xml into an object in C#. The error that I
Having problems with a small awk script, Im trying to choose the newest of

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.