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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:17:22+00:00 2026-05-23T03:17:22+00:00

I was just checking out 906.gs css code and noticed that they made all

  • 0

I was just checking out 906.gs css code and noticed that they made all the floated divs inline.

http://960.gs/demo.html

Just wondering what the purpose of that is…I am always interested in learning CSS theories.

  • 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-23T03:17:22+00:00Added an answer on May 23, 2026 at 3:17 am

    An element with float: left is forced to have a computed display value of block.

    For more information on that, see: jQuery in Chrome returns "block" instead of "inline"

    The purpose of also adding display: inline is to fix an IE6 bug, the “double margin bug”:

    http://www.positioniseverything.net/explorer/doubled-margin.html

    A coder innocently places a left float
    into a container box, and uses a left
    margin on the float to push it away
    from the left side of the container.
    Seems pretty simple, right? Well it is
    until it’s viewed in IE6. In that
    browser the left float margin has
    mysteriously been doubled in length!

    It’s a free fix with no downsides (even in IE6):

    That means that {display: inline;} on
    a float should be no different than
    using {display: block;} (or no display
    value at all), and indeed all browsers
    follow this specification, including
    IE. But, this does somehow trigger IE
    to stop doubling the float’s margin.
    Thus, this fix can be applied
    straight, without any fussy hiding
    methods.

    In fact, you could just apply the
    Inline Fix to all floats if you like,
    since there are no known side-effects.
    That way the bug can never gain
    traction regardless of any margins you
    might or might not use.

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

Sidebar

Related Questions

I am just checking out F#, so apologies if this is a silly question,
I've just found out about Stack Overflow and I'm just checking if there are
I just went through some MVC tutorials after checking this site out for a
A related question to one I asked earlier ... Just checking on something: Should
I was checking Microsoft's Visual Studio page just now and in the advertisements sidebar
I've just started experimenting with SDL in C++, and I thought checking for memory
Is there a string.Empty in JavaScript, or is it just a case of checking
Just looking for the first step basic solution here that keeps the honest people
Just what the title says, I need to change the password for an existing
just a quick question: I am a CS undergrad and have only had experience

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.