How can I stop the area below the text box from dropping down after clicking the btnSubmit?
If you look at the position of the footer ("Having difficulties? Contact the Webmaster"), it drops down when the "Welcome, [UserName]" is displayed.
From chapter 7 page 264-266
Please advise.
Thanks, Tracey
Beginning Dreamweaver MX 2004
ISBN 0-7645-5524-3 (not 4) 762 pages (not 792 pages)
copyright 2004... 10 9 8 7 6 5 4 3
Code:
<% if Session("UserName") = "" then %>
<form action="home.asp" method="post" name="frmUserName" id="frmUserName">
<input name="txtUserName" type="text" id="txtUserName" />
<input name="btnSubmit" type="submit" id="btnSubmit" value="Tell Us Your Name" />
</form>
<% else %>
Welcome, <% Response.Write(Session("UserName")) %>.
<% end if %>