[OpenLayers-Users] OpenLayers broken under XHTML 1.0?
Christopher Schmidt
crschmidt at crschmidt.net
Tue Aug 8 13:57:34 CDT 2006
On Tue, Aug 08, 2006 at 11:22:50AM -0500, Jeff Dege wrote:
> VS 2005 creates page templates that include the following doctype
> declaration:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>
> With this declaration, the map doesn't draw.
I just tried this, and under both XHTML 1.0 Strict and XHTML 1.0
Transitional, I was able to get a map out of:
http://openlayers.org/dev/examples/xhtml.html
I have a feeling that you're attempting to use a 'height: 100%' type
element or something, and if you're using XHTML, that has no meaning
unless you also set the height of the html and body elements to 100%.
If this is not the problem you're having, or you can share some advice
on how to reproduce the problem you are having, please let us know, and
we'll look further into the issue.
--
Christopher Schmidt
Web Developer
More information about the Users
mailing list