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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:38:40+00:00 2026-06-13T16:38:40+00:00

Tricky to find the most cross-browser-compatible solution (IE6 included). Three columns, the two on

  • 0

Tricky to find the most cross-browser-compatible solution (IE6 included).

Three columns, the two on the sides are responsive and adjust with screen.

The middle column should be empty, but with a fixed width:

enter image description here

It’s easy to make them all responsive: http://jsfiddle.net/Baumr/sZehH/2/ (in this case, the middle one isn’t even a column but just a margin — which is nice).

<section> 
    <div>
        <p>Column 1, lorem ipsum dolor bla bla dogs and cats</p>
    </div>
    <!-- Best if Column 2 is a margin or something -->
    <div>
        <p>Column 3, lorem blops dolor bla laa cats and dogs</p>                        
    </div>
<section>

I’ve considered using position:, but it can get messy…

Any ideas? Thanks in advance.

  • 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-13T16:38:41+00:00Added an answer on June 13, 2026 at 4:38 pm

    What about using an inner element for spacing? Could be another DIV tag inside each column:

    http://jsfiddle.net/sZehH/3/

    HTML:

    <section> 
        <div class="left">
            <p>Column 1, lorem ipsum dolor bla bla dogs and cats</p>
        </div>
    
        <div class="right">
            <p>Column 3, lorem blops dolor bla laa cats and dogs</p>                        
        </div>
    <section>
    

    ​CSS:

    section div {
        float: left;
        width: 50%;
    
    }
    
    section div p {
        background: pink;
        padding: 2.5%;    
    }
    
    .left p {
        margin-right: 20px;
    }
    
    .right p {
        margin-left: 20px;
    }
    

    I’ve used the paragraphs that where already there, but you probably will have more than one element, so you will have to add a wrapping element to account for that.
    ​

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

Sidebar

Related Questions

I have worked myself into a tricky situation and find myself unable to fight
i find this question tricky but what files store method signature info for xml
I find this question a little tricky. Maybe someone knows an approach to answer
I'm having a tricky MSBuild issue. There is a solution file containing multiple web
That one is a tricky one I believe. I would like to merge two
I browsed the related questions but I couldn't find what I needed since most
I've been working on this for days and I can't find a proper solution,
Most questions I find here provide a piece of code and get answered by
Is there a trick in the Groove Web Services to find the size of
Tricky to explain with words so I'll use a picture. A: row 0, column

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.