HTML style does not work in Outlook |
HTML style does not work in Outlook |
webmastermoya |
Nov 4 2018, 11:56 AM
Post
#1
|
Group: Members Posts: 4 Joined: 4-November 18 Member No.: 26,741 |
Hi guys!
Do you know why this html code looks different in Chrome browser and Microsoft Outlook Email Application? <!DOCTYPE html> <html> <body> <table> <tr> <td style="padding-bottom: 5px; color: #F7751F; font-size: 16px; font-family: Raleway,Arial, Helvetica, sans-serif; font-weight: bold;"> Santiago Moyano</td> </tr> <tr> <td style="padding-bottom: 5px; color: #2D3A5E; font-size: 12px; font-family: Raleway,Arial, Helvetica, sans-serif; font-weight: bold;"> Director creativo</td> </tr> </table> </body> </html> I have attached both signatures for you to see what I mean. Thanks for your help and have a great day!! Santiago Attached thumbnail(s) |
pandy |
Nov 4 2018, 03:16 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Hmm. One would think all CSS enabled email clients would support font color and size...
Dunno. Do you format the whole HTML email yourself or is your sig inserted in a template? Was thinking if something else is overriding your style. On the other hand, inline style should override everything else. Anyway, you could try to add !important to those declarations. Don't really expect it to work, but it's all I can think of. |
Christian J |
Nov 4 2018, 04:02 PM
Post
#3
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
Could it be that your copy of Outlook is configured to not show all HTML/CSS in emails? At least in Thunderbird you can choose between three viewing modes: Original HTML, Simple HTML, and Plain text.
|
webmastermoya |
Nov 5 2018, 07:16 AM
Post
#4
|
Group: Members Posts: 4 Joined: 4-November 18 Member No.: 26,741 |
Could it be that your copy of Outlook is configured to not show all HTML/CSS in emails? At least in Thunderbird you can choose between three viewing modes: Original HTML, Simple HTML, and Plain text. Hi Christian, thanks for your help. I have checked what you suggest and outlook does not have these 3 viewing modes, just html only. And it is checked. |
webmastermoya |
Nov 5 2018, 09:23 AM
Post
#5
|
Group: Members Posts: 4 Joined: 4-November 18 Member No.: 26,741 |
Hmm. One would think all CSS enabled email clients would support font color and size... Dunno. Do you format the whole HTML email yourself or is your sig inserted in a template? Was thinking if something else is overriding your style. On the other hand, inline style should override everything else. Anyway, you could try to add !important to those declarations. Don't really expect it to work, but it's all I can think of. Hi Pandy, thanks so much for your help. I sove the problem. It seems that outlook tables styles overrides my signature styles. Once i pastes signature on Outlook, then right mouse button and click "merge Tables". This will duplicate signature content: one with the right style, one with the wrong style. After that, just delete wrong signature and thats it. Thans again! |
pandy |
Nov 5 2018, 02:45 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Sound like I was right after all then, even if you found a better method to fix it. Probably Outlook rewrote your HTML though, rather than overtrumping it, so !important probably wouldn't have worked.
|
webmastermoya |
Nov 6 2018, 10:42 AM
Post
#7
|
Group: Members Posts: 4 Joined: 4-November 18 Member No.: 26,741 |
|
Lo-Fi Version | Time is now: 25th April 2024 - 10:26 PM |