Hello,
I'm using Response.Write to write text dynamically to a form. My
problem is that the text sent to the page is not written at the top of
the page, even if all margins are set to zero. I always have a space
between the top of the frame and the start of the text. I already use
this method with Classic ASP forms using VBScript and I do not have this
problem. Does anybody have an idea on how to solve this issue because
it is very tiresome to have two different formats in the same Web
Application.
Here is a sample of the text I write:
Response.Write("<TABLE BORDER=" + "0" + " CELLSPACING=" + "0" + "
WIDTH=" + "500" + ">");
Response.Write("<TR><TD WIDTH=" + "180" + " VALIGN=" + "top" +
"><BR><FONT FACE=" + "Arial" + " SIZE=" +"4" +"><b>" + "Confirmation" +
"</b><BR><BR><TD></FONT></TR>" );
Response.Write("<TR><TD WIDTH=" + "180" + "><FONT FACE=" + "Verdana,
Arial" + " SIZE=" + "2" + ">Status:</FONT></TD>" + "<TD><FONT FACE=" +
"Verdana, Arial" + " SIZE=" + "2" + ">Transaction Completed
Successfully" + "</FONT></TD></TR>" );
Response.Write( "</TABLE" );
Thank you very much for your ideas.
Pete
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!