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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:16:21+00:00 2026-06-15T16:16:21+00:00

I have been sitting for a while to come up with a solution to

  • 0

I have been sitting for a while to come up with a solution to a problem. I want to make a website that consists of three columns (left, center, right). These three will together cover the entire screen width. One column will consist of a fixed pixel value and the other two columns should be as wide that the middle column is centered on the screen.

The reason I need the left and right columns is because I want to hide things behind them, and then animate these things into the center column.

Anyone have a solution?

  • 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-15T16:16:23+00:00Added an answer on June 15, 2026 at 4:16 pm

    I’m not happy about the width: 10000% bit on this, maybe someone can come up with a cleaner solution but I think this will do what you’re describing. These kinds of layouts are a little tricky when you’re looking for a pure CSS solution.

    HTML:

    <div id="content">
    <p>Content goes in here</p>
    <ul>
        <li>Whatever</li>
        <li>Kind</li>
        <li>Of</li>
        <li>Content</li>
    </ul>        
    <div class="sideCol" id="left"></div>
    <div class="sideCol" id="right"></div>
    

    ​

    CSS:

    #content
    {
        width: 200px;
        margin: 0 auto;
        position: relative;
    }
    
    .sideCol
    {
        width: 10000%;
        height: 100%;
        position: absolute;
    }
    
    #left
    {
        background-color: red;
        right: 200px;
        top: 0;
    }
    
    #right
    {
        background-color: blue;
        top: 0;
        left: 200px;
    }​
    

    http://jsfiddle.net/fLH9T/

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

Sidebar

Related Questions

I have been using 9 patch images for a while now. But have come
I have been trying to access a queue that is on the cloud while
I have been struggling with this problem for a while now. I have a
I have problems setting the focus on an input element that has been created
Have been trying to encrypt an xml file to a string so that I
Have been working on this question for a couple hours and have come close
I have been having problems with this for some time now, and have come
I have been writing a small java application (my first!), that does only a
Problem I have a piece of java code (JDK 1.6.0._22 if relevant) that implements
I have been looking at this for a while, and am currently at a

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.