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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:58:35+00:00 2026-05-15T05:58:35+00:00

How to create a perfect 3 columns layout using CSS , with cross-browser support

  • 0

How to create a perfect 3 columns layout using CSS , with cross-browser support ?

I have 3 divs like

<div class="clm1">Some content</div>
<div class="clm2">Some content</div>
<div class="clm3">Some content</div>

tried googling but all were made or css3 . I need a perfect 3 column in basic css. Please help

update
Perfect in the sense, no huge coding required but supported by all browsers and easily modifiable

  • 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-15T05:58:36+00:00Added an answer on May 15, 2026 at 5:58 am

    Wrap all three in a parent element (in my example a <div>). Give all three <div> elements a float:left; CSS property and a non-auto width property. Then use the Faux Columns trick to give them background colors.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
      <head>
        <title>Bubbling!</title>
        <style type="text/css">
            .three-columns .column {
                width:33%;
                float:left;
            }
        </style>
      </head>
      <body>
        <div class="three-columns">
            <div id="clm1" class="column">Some content</div>
            <div id="clm2" class="column">Some content <br />Some content <br />Some content <br />Some content <br /></div>
            <div id="clm3" class="column">Some content <br />Some content <br />Some content <br />Some content <br />Some content</div>
        </div>
      </body>
    </html>
    

    In the example I’ve taken the liberty of changing your class attributes to id attributes as they didn’t feel appropriate for a class attribute.

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

Sidebar

Ask A Question

Stats

  • Questions 507k
  • Answers 507k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Well, I couldn't figure exactly how to make the file… May 16, 2026 at 3:54 pm
  • Editorial Team
    Editorial Team added an answer I solved my problem using surrogate key. May 16, 2026 at 3:54 pm
  • Editorial Team
    Editorial Team added an answer You don't need a module. Just learn about the pipe… May 16, 2026 at 3:54 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Id columns can specify a generator. Perfect. However, I have a situation in which
I feel like this should be very possible. I have an interface, let's call
CREATE INDEX alias_pub_idx2 ON info.palias USING btree (publisher_id, player_id, pub_player_id); CREATE INDEX alias_pub_idx3 ON
How do I best design a database where I have one table of players
I have a fairly small corpus of structured records sitting in a database. Given
We use a cube built in SSAS and we would like to show the
Edit: Building off of aL3xa's answer below, I've modified his syntax below. Not perfect,
I am trying to create a very simple help page in my app. The
I'm trying to create a Hash of Hash -es. The value of the 2nd
// Create test video frame void CreateFrame(char * buffer, int w, int h, int

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.