Forums

This topic is locked

response.write text but want different font color

Posted 31 Jan 2002 04:15:09
1
has voted
31 Jan 2002 04:15:09 b w posted:
Example.

response.write "This is a rock"
How do you change the 'rock' to appear as blue in font color?
I tried the
response.write "This is a"
response.write "font color =<#"003e80">rock.
/font
I tried many combinations. ie quotes no quotes.
Any pointers needed and heeded.



Replies

Replied 31 Jan 2002 09:45:17
31 Jan 2002 09:45:17 Viktor Farcic replied:
HTML: This is a <font color="#003e80">rock</font>

ASP: Response.Write("This is a <font color=#003e80>rock</font>"

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Example.

response.write "This is a rock"
How do you change the 'rock' to appear as blue in font color?
I tried the
response.write "This is a"
response.write "font color =&lt;#"003e80"&gt;rock.
/font
I tried many combinations. ie quotes no quotes.
Any pointers needed and heeded.




<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Viktor Farcic

TalkZone Manager
Replied 01 Feb 2002 02:29:06
01 Feb 2002 02:29:06 b w replied:
Thanks Victor,
I didn't think about the brackets.

Reply to this topic