Change the html height, For example: html{ height: 100%; } -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Set-css-in-not-in-PX-tp4986866p4992855.html Sent from the OpenLayers Users mailing list archive at Nabble.com.