Quantcast
Channel: Invalid XHTML?
Viewing all articles
Browse latest Browse all 3

Invalid XHTML?

0
0
I'm just getting started with the map control, and it seems that it is generating invalid XHTML? For some reason, it is first creating a span, and then several divs inside the span, which is not valid.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Branches.aspx.cs" Inherits="Branches" %><%@ Register Assembly="Microsoft.Live.ServerControls.VE" Namespace="Microsoft.Live.ServerControls.VE" TagPrefix="ve" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title>OCL Branches</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="Stylesheet" type="text/css" href="Content/Branches.css" /></head><body><form id="form1" runat="server"><div><asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"></asp:ScriptManager><ve:Map ID="VEBranches" runat="server" Height="600px" Width="400px"
            ZoomLevel="10" Center-Latitude="xxxxxx" Center-Longitude="xxxxxx" 
            ShowMapModeSwitch="False" />   </div></form></body></html>
The code-behind just adds the pin points. And the generated XHTML includes this, which doesn't pass validation:

<span id="VEBranches" style="display:inline-block;height:600px;width:400px;"><div id="VEBranches_map" style="height:600px;width:400px;position:relative;overflow:hidden;"></div>
The Branches.css file referenced only has this:
#MSVE_obliqueNotification 
{
    visibility: hidden;
}
How do I prevent the invalid XHTML?

Viewing all articles
Browse latest Browse all 3

Latest Images

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Vimeo 10.6.2 by Vimeo.com, Inc.

Vimeo 10.6.2 by Vimeo.com, Inc.

Vimeo 10.6.1 by Vimeo.com, Inc.

Vimeo 10.6.1 by Vimeo.com, Inc.

Vimeo 10.6.0 by Vimeo.com, Inc.

Vimeo 10.6.0 by Vimeo.com, Inc.

Re:

Re:





Latest Images

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC

Vimeo 10.6.1 by Vimeo.com, Inc.

Vimeo 10.6.1 by Vimeo.com, Inc.

Vimeo 10.6.0 by Vimeo.com, Inc.

Vimeo 10.6.0 by Vimeo.com, Inc.

Re:

Re:

Re:

Re: