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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T21:30:57+00:00 2026-05-28T21:30:57+00:00

I think firefox’s support to box model in CSS3 is soooooooooooooo poor… I have

  • 0

I think firefox’s support to box model in CSS3 is soooooooooooooo poor…

I have encountered many problems involving box which works fine in Chrome and Safari..

Here is the latest problem:

it seems that FF does not support box with relative float..

here is the example, you can try it in jsFiddle:

HTML:

<div id="container">
    <div id="test">
        <div id="b1" class='item'></div>
        <div id="b2" class='item'></div>
    </div>
</div>

CSS:

#container{
    width: 500px;
    height: 500px;
    background-color: red;
}

#test {
    pisition: relative;
    float:left;

    width: 200px;
    height: 200px;
    background-color: green;
    display: -webkit-box;
    display: -moz-box;
    display: box;

    -moz-box-orient: $align;
    -moz-box-pack: center;
    -moz-box-align: center;

    -webkit-box-orient: $align;
    -webkit-box-pack: center;
    -webkit-box-align: center;

    box-orient: $align;
    box-pack: center;
    box-align: center;
}

.item {
    width: 50px;
    height: 50px;
}

#b1 {
    background-color: yellow;
}

#b2 {
    background-color: blue;
}

when I remove the

pisition: relative;
float:left;

in the #test, everything is OK

but with ‘float’, the box model doesn’t work…

  • 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-28T21:30:57+00:00Added an answer on May 28, 2026 at 9:30 pm

    You’re not using “CSS3”. You’re using a combination of invalid CSS (there is no plan for a display: box in CSS), an early WebKit draft implementation of CSS3 Flexbox, and XUL boxes (which are completely unrelated to CSS3 Flexbox and to what WebKit implements).

    XUL boxes are not allowed to be floated; when you float them they become blocks, because floating changes display values in CSS.

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

Sidebar

Related Questions

I have an issue in firefox and not in IE, didn't think I'd hear
I think that i have some problems with jquery selectors in IE. Chrome and
I googled this many times but now I have to ask it here. I
I recently encountered a printing issue in Firefox that eventually turned out to be
I'm using Firefox 3.6 and I think that there may be a compatibility issue
On Firefox: console.log(document.createElement('input').placeholder === ''); // true console.log(document.createElement('input').hasOwnProperty('placeholder')); // false I think the 2nd
I'm developing a firefox addon and would like to have a fixed position (relative
I've some CSS problem in Firefox 3. I have several image buttons on my
I have tested this on Firefox, Opera and Seamonkey. It works fine. When it
Does any body know how browser(IE, Firefox, Chrome) load web page? I think they

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.