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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:37:19+00:00 2026-05-20T09:37:19+00:00

I just notice a lot of two column css layout examples are using a

  • 0

I just notice a lot of two column css layout examples are using a float for the first box and a left-margin for the second one.

For a long time now I’ve been using float for all elements and I’m wondering now if the margin technique has some advantages or not ?

  • 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-20T09:37:20+00:00Added an answer on May 20, 2026 at 9:37 am

    I can’t think of any general advantages between the two techniques (at least in modern browsers).

    There’s often multiple ways to achieve the same thing with CSS.

    In certain scenarios maybe one is better than the other, so it’s best to at least be familiar with the most common techniques.

    For instance, see here for a roundup:

    http://www.css-resources.com/The-Many-CSS-Page-Layout-Techniques.html
    (the code in these demos isn’t exactly using recent or good code, but the point stands)

    All the links starting with “2-column” look similar, but use a different technique to achieve two columns.

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

Sidebar

Related Questions

I just made my first website , and I notice that the elements start
In a lot of examples, I notice that that they are created like this:
Having just started with MVC 2 I notice that in their starter template they
I just disabled magic_quotes_gpc and I notice that the user input into my database
I'm creating a stacked bar chart just like this one . Notice that the
found a lot of questions involving finding duplicates in two columns : i.e. MS
Background Recently I've started to use XML a lot more as a column in
I just started to learn CodeIgnighter and I face lot many problems. I made
I'm using castle windsor for a pet-project I'm working on. I'm starting to notice
I just noticed a Stored Procedure was using the following BEGIN/COMMIT TRAN. BEGIN TRAN

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.