Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ASP.net HTML two different colors on same line

Hi. I am trying to build the html body for an email using the following code    

          oHBody = oHBody & "<html><body><font size=3  color=" & sColor1 & " name = 'Calibri'>Customer First Name: </font></body></html>"
                    oHBody = oHBody & "<html><body><font size=3  color=" & sColor2 & " name = 'Calibri'>" & oFirstName & "</font></body></html>"

I want to get two different colors on the same line. At the moment the following code seems to generate two lines.
How do I change this so it is all on one line
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Thanks very much