Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP and Div Tags

Status
Not open for further replies.

Wheelz24

Programmer
Nov 6, 2003
11
GB
This may be a stupid question, but I have used CSS-P and div tags for my site and I am using asp to create a form that can be emailed. I just put the code in the same div as the form don't I?

Thanks

________________________
Kieran Briggs
NJS Solutions
 
Yes in its simple form.

A method of making the ASP and what you see in the output work better is to do exactly what you already have basically. Write the visual aspect to the page so you know what you want and have it formatted to the way it should be. Save that page as your template and then start replacing the inner portions with the dynamic generating code from the server. When you have problems with the way it is being generated out, DO NOT start hacking away at your ASP but instead view the source of the client output and see what, where and why the server scripts are generating the wrong thing. Fix the output so you know how to fix the dynamic portions. It will save hours of headaches and pain in trying to get things situated right.

A side note: the code that processes the form will of course not affect the final output at all. So if you write a half page long CDO script to process the form, you can place it anywhere you want in the page without effecting the actual format of the page (unless it outputs Val’s to the screen)

hope that helps and I got what you needed correctly


___________________________________________________________________

The answer to your ??'s may be closer then you think.
Check out Tek-Tips knowledge bank by clicking the FAQ link at the top of the page faq333-3811
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top