What’s the max value for the z-index?

Filed Under (Web Design and Development) by admin on 14-07-2009

The answer is, it could be as high as 2,147,483,647 (according to CSS Master Cameron Moll).

More specifically, it depends on the web browser. According to Eric Puidokas, who did some z-index testing in a number of web browsers, “The results show IE, Firefox and Opera all use a 32-bit signed integer to store the value of z-index.”

From Eric Puidokas’ web site.

Great job! I’m certainly hoping that I will never need any z-index attributes to go that high, but it’s always good to know about the potential possibilities.

 

Comments:

Total 1 Comment posted What’s the max value for the z-index?

Post a comment

Add to Technorati Favorites

My BlogCatalog BlogRank