and further down the page I have a few Response.write statements:
Response.Write "Please click <a href='javascript:history.back(1)'>here</A> to type in your name"
elseif strSubject = "" then
Response.Write "Please click <a href='javascript:history.back(1)'>here</A> to type in your subject</font>"
elseif strMessage = "" then
Response.Write "Please click <a href='javascript:history.back(1)'>here</A> to type in your message"
elseif strEmail = "" then
Response.Write "Please click <a href='javascript:history.back(1)'>here</A> to type in your Email"
end if
Response.End
Can I ask where SHOULD the <div></div> tags go because I keep getting Times Roman as the font face?
Furthermore, some people seem to prefer keeping all the <% %> comments in one part of the page, and HTML/CSS in another (it seems tidier that way), while others (many others, in fact), seem to mingle everything together. Are there any tutorials on this anywhere? Can't seem to find much from a Yahoo! search.
If strName="" or strSubject="" or strMessage="" or strEmail="" Then
Response.Write "<div>Please click <a href=""" &_
"javascript:history.go(-1)"">here</A> to type in your "
Select Case ""
Case strName Response.Write "Name"
Case strSubject Response.Write "Subject"
Case strMessage Response.Write "Message"
Case Else Response.Write "Email"
End Select
Response.Write "</div>" & vbCrLf
End If
Response.End
Response.Write "<center>The guestbook has been updated with your message</center>"
Response.Write "<center>Please click <a href='gbook.asp'>here</A> to go back to the guestbook</center>"
%>
</center>
</BODY>
</HTML>
Can't understand why it should be black! It's here and if you fill in the form, you'll see what I mean:
Bookmarks