multichild
Programmer
I have a page that is almost validated but for a piece of code at the bottom.
Here is the code:
<%
'iterate thro recordset
Do while not rsuser.eof
%>
</p>
<li>
<span class="style18">
<%
response.write rsuser("event_Day") &" "
response.write rsuser("event_Date") & " "
response.write rsuser("event_Month") & " " & " "
response.write rsuser("event_Year") & " " & " "
response.write("<span class=""5thItem"">"&"- "&rsuser("event_SoldOut")&"</span>")
rsuser.movenext
Loop
'close resources used
rsuser.close
conn.close
'clean up
set rsuser=nothing
set conn=nothing
%>
</span>
</li>
From this piece of code I am generating these errors:
document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag.
I need that li tag there for the output, but it is causing a problem, like the </p> tag.
Can anybody help me get this right here, so that the output is what i require which meand keeping the li and p tags and getting it to validate.
cheers
Lee
Here is the code:
<%
'iterate thro recordset
Do while not rsuser.eof
%>
</p>
<li>
<span class="style18">
<%
response.write rsuser("event_Day") &" "
response.write rsuser("event_Date") & " "
response.write rsuser("event_Month") & " " & " "
response.write rsuser("event_Year") & " " & " "
response.write("<span class=""5thItem"">"&"- "&rsuser("event_SoldOut")&"</span>")
rsuser.movenext
Loop
'close resources used
rsuser.close
conn.close
'clean up
set rsuser=nothing
set conn=nothing
%>
</span>
</li>
From this piece of code I am generating these errors:
document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag.
I need that li tag there for the output, but it is causing a problem, like the </p> tag.
Can anybody help me get this right here, so that the output is what i require which meand keeping the li and p tags and getting it to validate.
cheers
Lee