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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:23:41+00:00 2026-06-12T17:23:41+00:00

i tested ,when running on chrome or firefox, except on ie, the position:fixed will

  • 0

i tested ,when running on chrome or firefox, except on ie,
the position:fixed will trigger the display:block?
this the test html :http://sking7.github.com/fix.html
the code will alert two times,the first is display ,the second is document.compatMode
this why?
the w3c has said this ?

  • 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-12T17:23:42+00:00Added an answer on June 12, 2026 at 5:23 pm

    Well, I found the w3 specifications for this :

    9.7 Relationships between ‘display’, ‘position’, and ‘float’

    The three properties that affect box generation and layout — ‘display’, ‘position’, and ‘float’ — interact as follows:

    1. If ‘display’ has the value ‘none’, then ‘position’ and ‘float’ do not apply. In this case, the element generates no box.
    2. Otherwise, if ‘position’ has the value ‘absolute’ or ‘fixed’, the box is absolutely positioned, the computed value of ‘float’ is ‘none’, and display is set according to the table below. The position of the box will be determined by the ‘top’, ‘right’, ‘bottom’ and ‘left’ properties and the box’s containing block.
    3. Otherwise, if ‘float’ has a value other than ‘none’, the box is floated and ‘display’ is set according to the table below.
    4. Otherwise, if the element is the root element, ‘display’ is set according to the table below, except that it is undefined in CSS 2.1 whether a specified value of ‘list-item’ becomes a computed value of ‘block’ or ‘list-item’.
    5. Otherwise, the remaining ‘display’ property values apply as specified.
    Specified value                                     Computed value
    
    inline-table                                        table
    
    *inline*, table-row-group, table-column, 
    table-column-group, table-header-group, 
    table-footer-group, table-row, table-cell, 
    table-caption, inline-block                         *block*
    
    others                                              same as specified
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay, I tested this on an empty program, and just having a while(true){} running
I have a RegExp Tester extension in chrome. Running pattern [-,] against search text
I've added an account variable to a Rails app I'm running, and tested in
I tested the following code in firefox scratchpad and got interesting result? var date=new
I tested this on both .Net 4.0 and .Net 4.0 CP, same result. This
If you are running Windows with a higher DPI setting you will notice that
I was testing the accuracy of setTimeout using this test . Now I noticed
I was able to get the Zend Server Java Bridge running and tested it
I have some jQuery code which works great in Firefox and Chrome, but does
I have my app running and tested on 10.7 but later realized that I

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.