RE: Response.Write

by "Todd Philipps" <todd(at)anvil-group.com>

 Date:  Thu, 5 Oct 2000 08:30:06 -0700
 To:  "'ches'" <ches(at)io.com>
 Cc:  <hwg-languages(at)hwg.org>
 In-Reply-To:  io
  todo: View Thread, Original
use double "'s to make the " appear in the html code.

ie.
	Response.Write("<Div align=""Center"">")
	Response.Write("<span style=""color: red;"">")

notice the double quotes around Center and color: red;
This will output:

<Div align="Center">
<span style="color: red;">

Todd


-----Original Message-----
From: owner-hwg-languages(at)hwg.org [mailto:owner-hwg-languages(at)hwg.org]On
Behalf Of ches
Sent: Thursday, October 05, 2000 7:56 AM
Cc: hwg-languages(at)hwg.org
Subject: Response.Write


If I want to change the following in an asp page, what else do I have to
add to make sure the quotes are not read as part of the write statement
but only part of the html?

Response.Write("<Center>")
Response.Write("<Font color=red>")


to 
	Response.Write("<Div align="Center">")
	Response.Write("<span style="color: red;">")
-- 
Sincerely,
Franchesca
ches(at)io.com

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA