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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:31:15+00:00 2026-05-29T04:31:15+00:00

I have an absolute positioned div with a display: box In Chrome it works

  • 0

I have an absolute positioned div with a display: box

In Chrome it works perfectly fine, the children of the div align horizontally, but in Firefox it doesn’t seem to work.

If I remove the position: absolute it works fine in both browsers, but I need it.

Example: http://dabblet.com/gist/1716069

  • 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-29T04:31:18+00:00Added an answer on May 29, 2026 at 4:31 am

    The experimental display types you’re using mean totally different things, and none of them match display: box for the simple reason that this last doesn’t exist and never will (the CSS spec will be using display: flexbox, with quite different behavior from all the prefixed “box” displays, all of which have very different behavior from each other).

    Since they mean different things, browsers handle the section of CSS that says that absolutely positioned elements have their display values changed to block or table somewhat differently. Gecko changes -moz-box to block. WebKit doesn’t change -webkit-box to anything else.

    I suggest not using experimental display types that are going to disappear in the not too far off future. If you do have to use them, you probably want to wrap a block around your “box” and position that block.

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

Sidebar

Related Questions

I have a div box (black) that will display a few different product images
I have an IE6 absolute position div that I want to be full screen
i have a container div which is position:relative and the squares are position:absolute because
I have a Div layer like this ... <style type=text/css> <!-- #newImg { position:absolute;
I have a <div> element with position: absolute and z-index something big. I would
I have three Divs on the page and they are absolute positioned. Lets call
I have a jQuery Tools Modal Overlay on my website, and it works perfectly
Greetings, I have asp.net check box control and asp.net dropdownlist control inside div tag.
I have a text input with a search buton absolute positioned over it... to
have a box that displays images wrapped in a div from a database 4

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.