madHatter1
Technical User
Hello
I have a small VBScript which gives me the date at the top of my page. It is contained in a table which holds the font values, and work well.
However, because the <BODY> tag begins way down the page, I get a number of HTML errors (because the <TABLE> etc actually begins before the <BODY> tag).
<TABLE ALIGN="TOP"><TR><TD><b><FONT FACE=VERDANA COLOR=#FFFFFF SIZE=1>
<%
Response.Write WriteDate (Date)
Function Suffix(number)
SELECT CASE Number
CASE 1
Function WriteDate(theDate)
WriteDate = Suffix(Day(theDate)) etc etc
%>
</FONT></b></TD></TR></TABLE>
Is there a way that I can use HTML font tags here, that is, between the <% %>, so as not to produce HTML errors?
Many thanks
Hatter
I have a small VBScript which gives me the date at the top of my page. It is contained in a table which holds the font values, and work well.
However, because the <BODY> tag begins way down the page, I get a number of HTML errors (because the <TABLE> etc actually begins before the <BODY> tag).
<TABLE ALIGN="TOP"><TR><TD><b><FONT FACE=VERDANA COLOR=#FFFFFF SIZE=1>
<%
Response.Write WriteDate (Date)
Function Suffix(number)
SELECT CASE Number
CASE 1
Function WriteDate(theDate)
WriteDate = Suffix(Day(theDate)) etc etc
%>
</FONT></b></TD></TR></TABLE>
Is there a way that I can use HTML font tags here, that is, between the <% %>, so as not to produce HTML errors?
Many thanks
Hatter