PDA

View Full Version : How do i display quotes(") in a html line


visions
08-15-2006, 06:53 AM
How do i display quotes(") in a html line

_Aerospace_Eng_
08-15-2006, 06:56 AM
I'm not sure what you are asking. Are you wanting to display quotation marks dynamically or something?

visions
08-15-2006, 07:22 AM
hey!!:D well im trying to pass this as a string in actionscript but i cant get a way to pass "" as a string
<font color = "#ffffff"><b>test</b>

actionscript
Text_Side_TXT.text = "<font color=" + "#FF0000" + "><b>this is only a test</b>";

rmedek
08-15-2006, 07:40 AM
I don't know about actionscript but in most other cases (JS or PHP) you could either alternate single and double quotes:
Text_Side_TXT.text = '<font color=' + '"#FF0000"' + '><b>this is only a test</b>';
or escaping the quotes with a backslash:
Text_Side_TXT.text = "<font color=" + "/"#FF0000/"" + "><b>this is only a test</b>";

visions
08-15-2006, 07:48 AM
THANKS DUDE THAT WAS IT!!!!:D :) :thumbsup: single quotes was the key.thanks bro.

J

rmedek
08-15-2006, 12:21 PM
dang, three smilies! It must have been bugging you for awhile. :D