overflow of colors in html not looking correct going from line to line on links

I had this question after viewing I need to put the following code all on one line for html formatting.

mybody3 = "</table><p><b>Additional Approval or Rejection Comments:                                                                                                                <b><br><br>"
    mybody3 = mybody3 & "</p>"
'Approve:
url = "'http://qam.campus.gnger.com/Red_V1/RBEApprovalWorkFlow.aspx?id=" & price_escNum & "&level=101&response=pending&qsracfid=" & Qsracfid & "&action=approve'>APPROVE</a>"
  mybody4 = "<body><p><b>Click here to <Font Color=Green><a style='color: rgb(0,100,0)' href=" & url & "  this Escalation </b>"

mybody4 = mybody4 & "</p>"

' Reject:
  url = "'http://qam.campus.gnger.com/Red_V1/RBEApprovalWorkFlow.aspx?id=" & price_escNum & "&level=101&response=pending&qsracfid=" & Qsracfid & "&action=reject'>REJECT</a>"
  mybody5 = "<body><p><b>Click here to <Font Color=Red><a style='color: rgb(205,92,92)' href=" & url & "  this Escalation </b>"
  mybody5 = mybody5 & "</p>"


The body of the email is looking like this ?

[embed=file 1203017]

Open in new window

The Approval LINE should be  all "Green"
The Reject LINE  shou;ld be all "Red"

Thanks
fordraiders
color-flow-over.png
color-flow-over.png
LVL 3
FordraidersAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim RiddlesPrepress/OMS SpecialistCommented:
Try the following:
mybody3 = "</table><p><b>Additional Approval or Rejection Comments:<b><br><br></p>"

'Approve:
url = "'http://qam.campus.gnger.com/Red_V1/RBEApprovalWorkFlow.aspx?id=" & price_escNum & "&level=101&response=pending&qsracfid=" & Qsracfid & "&action=approve'>APPROVE</a>"

mybody4 = "<p style='color: rgb(0,100,0)'><b>Click here to <a href=" & url & "  this Escalation </b></p>"

' Reject:
url = "'http://qam.campus.gnger.com/Red_V1/RBEApprovalWorkFlow.aspx?id=" & price_escNum & "&level=101&response=pending&qsracfid=" & Qsracfid & "&action=reject'>REJECT</a>"

mybody5 = "<p style='color: rgb(205,92,92)'><b>Click here to <a href=" & url & "  this Escalation </b></p>"

Open in new window


I have gotten rid of some unnecessary lines, removed the BODY tags, removed the FONT tags, and moved your color style to the enclosing P tags around the Approve and Reject links.
0
FordraidersAuthor Commented:
That worked,

but the WORD  "APPROVE" is still in BLUE...It should be GREEN.
and
The Word  "REJECT" is in BLUE . It should be RED

LINKS STILL IN BLUE
0
Jim RiddlesPrepress/OMS SpecialistCommented:
Ah, then include the color style back into the ANCHOR link:

mybody3 = "</table><p><b>Additional Approval or Rejection Comments:<b><br><br></p>"

'Approve:
url = "'http://qam.campus.gnger.com/Red_V1/RBEApprovalWorkFlow.aspx?id=" & price_escNum & "&level=101&response=pending&qsracfid=" & Qsracfid & "&action=approve'>APPROVE</a>"

mybody4 = "<p style='color: rgb(0,100,0)'><b>Click here to <a style='color: rgb(0,100,0)' href=" & url & "  this Escalation </b></p>"

' Reject:
url = "'http://qam.campus.gnger.com/Red_V1/RBEApprovalWorkFlow.aspx?id=" & price_escNum & "&level=101&response=pending&qsracfid=" & Qsracfid & "&action=reject'>REJECT</a>"

mybody5 = "<p style='color: rgb(205,92,92)'><b>Click here to <a style='color: rgb(205,92,92)' href=" & url & "  this Escalation </b></p>"

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FordraidersAuthor Commented:
Thanks so much !!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.