S
Samuel Shulman
Please view the code below
I get the following error: Per the active schema, the element 'li' cannot be
nested within 'div'.
Why?
Thanks
Samuel
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="SelectState.aspx.vb" Inherits="EsarWeb.SelectState"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>SelectState</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<DIV style="DISPLAY: inline; Z-INDEX: 101; LEFT: 96px; WIDTH: 584px;
POSITION: absolute; TOP: 32px; HEIGHT: 312px"
ms_positioning="FlowLayout">Label
<asp:Repeater id="Repeater1" runat="server">
<ItemTemplate>
<li>
<%# DataBinder.Eval(Container,"DataItem.Title")%>
</li>
</ItemTemplate>
<AlternatingItemTemplate>
<font color="green">
<%# DataBinder.Eval(Container,"DataItem.Title")%>
</font>
</AlternatingItemTemplate>
</asp:Repeater></DIV>
</form>
</body>
</HTML>
I get the following error: Per the active schema, the element 'li' cannot be
nested within 'div'.
Why?
Thanks
Samuel
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="SelectState.aspx.vb" Inherits="EsarWeb.SelectState"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>SelectState</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<DIV style="DISPLAY: inline; Z-INDEX: 101; LEFT: 96px; WIDTH: 584px;
POSITION: absolute; TOP: 32px; HEIGHT: 312px"
ms_positioning="FlowLayout">Label
<asp:Repeater id="Repeater1" runat="server">
<ItemTemplate>
<li>
<%# DataBinder.Eval(Container,"DataItem.Title")%>
</li>
</ItemTemplate>
<AlternatingItemTemplate>
<font color="green">
<%# DataBinder.Eval(Container,"DataItem.Title")%>
</font>
</AlternatingItemTemplate>
</asp:Repeater></DIV>
</form>
</body>
</HTML>