hi, i’m writing script part of an application form by asp.net , sth like
and sMsg is the variable of content which will be sent to admin by email.
My question is how can i modify the font size, color or style of suffix info in the script, like “Application Form”, “Title”, “Surname”, etc
Thanks a lot
You should be able to wrap the items you want to look different in “SPAN” tags, something like:
sMsg+= "<span style=""font-weight : Bold;"">Application Form:</span>" & vbcrlf +"<BR>" +"<BR>"
Sound about right?
hafa
January 20, 2006, 2:18am
3
[QUOTE=FirstDivision]
You should be able to wrap the items you want to look different in “SPAN” tags, something like:
sMsg+= "<span style=""font-weight : Bold;"">Application Form:</span>" & vbcrlf +"<BR>" +"<BR>"
Sound about right?
[/QUOTE]
Right. since the variable is just a string, you can incorporate any html tags you wish. The cleanest way, however would be to use a single tag and define the tag’s text attributes within an external css file.