The registration page 'register.asp' is written in the way you have it in your second example:-
If a="" then %> Hello
It's just that there are so many ASP variables and 'if then' blocks
within the HTML most WYSIWYG Editors can not handle the amount of ASP
within the HTML and so can not display the page
correctly for editing.
Here is an example of the register.asp page:-
<tr bgcolor="<% = strTableColour %>" background="<% = strTableBgImage %>">
<td valign="top"
height="2" class="text" background="<% = strTableBgImage
%>"><% = strTxtSelectAvatar %>
<br
/><span class="smText"><% = strTxtSelectAvatarDetails &
intAvatarHeight & " x " & intAvatarWidth & " " &
strTxtPixels %>).</span></td>
<td valign="top" height="2" background="<% = strTableBgImage %>" >
<table
width="290" border="0" cellspacing="0" cellpadding="1"> |
The top part of the page where most of the ASP code is in the first
1200 lines, it is just for processing entered data and not for page
display.
Edited by -boRg- - 14 February 2005 at 10:47am