how to center logo in html code in vba
hi, all
I'm try to centre a logo image in the middle of email but I having issue doing it doesn't seem to matter what I try I can't seem to get it to do what I want . The code below works but doesn't centre the image
here the code :
thanks in advance
shane
hi, all
I'm try to centre a logo image in the middle of email but I having issue doing it doesn't seem to matter what I try I can't seem to get it to do what I want . The code below works but doesn't centre the image
here the code :
Code:
Dim txtLogoURL As String 'this is for your logo
txtLogoURL = "C:\Users\Dell\Pictures\oie_transparent.png"
strHTML = strHTML & "<p>"
strHTML = strHTML & "<a href=""[URL]http://www.testing.com/""><img[/URL] border=""0"" src=" _
& txtLogoURL & "' [COLOR=red][B]align='Centre'[/B][/COLOR] width =200" & " alt=""testing"" /></a>"
shane
Last edited: