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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:26:19+00:00 2026-05-23T10:26:19+00:00

Im trying to achieve a design that has five columns with fluid width, but

  • 0

Im trying to achieve a design that has five columns with fluid width, but also incorporates separator divs (with background images so they’re a fixed size). There has to be a way to get these columns + the separators to equal 100% width so then I can have the footer expand and contract with the content correctly.

I’ve looked at code for a fixed div floated against a fluid div, but can’t seem to expand the idea of negative margins to 5 fluid columns with 6 fixed separator divs.

Here’s what I have..

<div class="content">
 <div id="column-container">
  <div class="sep"></div>
  <div class="col_one"></div>
  <div class="sep1"></div>
  <div class="col_two"></div>
  <div class="sep2"></div>
  <div class="col_three"></div>
  <div class="sep3"></div>
  <div class="col_four"></div>
  <div class="sep4"></div>
  <div class="col_five"></div>
  <div class="sep5"></div>
 </div>
 <div class="footer">
 </div>
</div>

CSS is something like

.sep{
width:26px;
position:relative;
margin-top:-20px;
height:1113px;
float:left;
background-image:url('images/sep.png');
} // other sep divs are the same just using a different sep background
#column-container .col_one,#column-container .col_two,
#column-container .col_three,#column-container .col_four,
#column-container .col_five{
height:1090px;
overflow:hidden;
margin: 0 auto; 
width: 16.8%; 
float: left;
}
#content{
min-width:975px;
width:80%;
margin: 0 auto;
}
  • 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-23T10:26:20+00:00Added an answer on May 23, 2026 at 10:26 am

    Option #1: Spend the rest of the week trying to figure out how to do this in javascript and never be completely satisfied with the result.

    Option #2: Change the html structure a little.

    <style type="text/css">
        #main_container {
            background-image:url('images/sep.png');
            background-repeat:repeat-y;
            padding-left:26px;
            overflow:hidden;
        }
        .column {
            width:20%;
            float:left;
            background-image:url('images/sep.png');
            background-repeat:repeat-y;
            background-position:top right;
        } .column_padder {
            padding:4px 30px 4px 4px;
        }
    </style>
    
    <div id="main_container">
        <div class="column"><div class="column_padder">Lorem ipsum de color sit amet. Consectatur adipising elit.</div></div>
        <div class="column"><div class="column_padder">Cut back on those dirty cheeseburgers, Randy!</div></div>
        <div class="column"><div class="column_padder">asdf</div></div>
        <div class="column"><div class="column_padder">asdf</div></div>
        <div class="column"><div class="column_padder">asdf</div></div>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What I am trying to achieve is a form that has a button on
What I'm trying to achieve is to determine if the Postscript that I'm parsing
I'm trying to design an Android layout that would look like the following: Entity1
I have an App that I am trying to design the data model for.
I have this design for an HTML book and i am trying to achieve
I'm trying to achieve the effect that is part of the android google talk
I am trying to achieve better performance for my Java SWT application, and I
I'm trying to achieve the equivalent of a WinForms ListView with its View property
I'm trying to achieve a 50px space at the bottom of my page, below
I've trying to achieve something like this: class Base { public: Base(string S) {

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.