Le mardi 28 juillet 2009, à 00:36:53 +0530, Sanjay a écrit : > hey guys, > > Having an issue with DOCTYPEs and OpenLayers - I've broken it down into the > simplest possible example pages: > > a> With no DOCTYPE (renders fine): http://4words.com/ol/without-doctype.html > > b> With a valid HTML 4.01 Strict Doctype: > http://4words.com/ol/with-html4-doctype.html > > c> With a valid HTML 5 Doctype: http://4words.com/ol/with-html5-doctype.html. > > b> and c> do not render anything for me at all on all the browsers i tested > on (opera, chrome, ff). Just removing the DOCTYPE tag makes the controls > appear.
With a doctype, you need to set dimensions of map element. For example, if you want map to take all available places: <div id="map" style="top: 0; left: 0; bottom: 0; right: 0; position: fixed;"> arno
signature.asc
Description: Digital signature
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
