What are the largest valid px
values that CSS width
and height
properties accept?
(I'm currently building a webapp that creates a very large zoomable container element and I want to know what are the actual limits.)
What are the largest valid px
values that CSS width
and height
properties accept?
(I'm currently building a webapp that creates a very large zoomable container element and I want to know what are the actual limits.)
Using the CSS inspector that comes with certain browsers on an element with 10000000000px width and height:
Firefox: 33554400px
Chrome: 33554428px
Opera: 33554428px
IE 9: 21474836.47px