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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:04:57+00:00 2026-06-09T15:04:57+00:00

Hi I have a question that has been bodering me for a while.I have

  • 0

Hi I have a question that has been bodering me for a while.I have seen many developers that when they try to position block level elements on the same line they use both:

float:left
display:inline

I myself only use display:inline-block for this and I get the same effect.A couple a weeks ago a developer suggested that I should use the above code but when I asked why he diden’t answer.

If that developer is right then why should I use the above code?What is the difference?

  • 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-09T15:04:58+00:00Added an answer on June 9, 2026 at 3:04 pm

    display:inline-block isn’t supported on IE7 and below and a few other old browsers. I guess if you are supporting older browsers, you would need to use what the other developer suggested in conditional stylesheets.

    Otherwise, it’s just a hack that people are still using because it’s what they already know, even though display:inline-block is better. The reason he didn’t answer you about why is because he doesn’t have a good answer, his answer would likely be simply ‘because that’s how I do it’.

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

Sidebar

Related Questions

I have a big question that has been puzzling me for a long time
I realize that this question has been asked 100times but none that I have
I have a bit of a question that has been bothering me for a
I have a question that has pretty much been asked here: asp.net mvc Html.ActionLink()
I have a general question about debugging a .NET process that has been built
I know this is a question that has been asked many times before, but
I have a question that has been viewed, but with no answers or comments
I've got a question that has been bugging me for a while now, but
This may, and should be, a question that has been asked and answered many
I have a really, really simple CSS question that has already been asked here

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.