html email - When Outlook 2007 ignores css, how to specify font-size? -
i have 2 windows computers, both outlook 2007. send both html email stuff like:
<div style='font-family:times new roman,serif;font-size:11pt'> ...
i need times new roman, 11pt font. in 1 outlook shows correctly times 11pt, in other, arial 12pt. can second 1 display times using surrounding content tag like:
<font face='times new roman' size='3'>...
but size mapped 12pt, , size=2 10pt. see no way yet specify size in px or pt. tag disturbing because we're in year 2013.
i understand outlook html email rendering disaster because defers word instead of ie rendering. why difference? , can second copy of outlook act first one? or there other way tell it: "11pt".
here recent attempt @ html sent exchange...
<!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd"> <html> <head> <style> body, div, p, table, td { font-family:timesnewroman, "times new roman", times, serif; } </style> </head> <body style='font-family:timesnewroman, "times new roman", times, serif;font-size:11pt;'> <font style="font-family: timesnewroman, "times new roman", times, serif; font-size: 14px; color: #000000;"> <p>blah blah. </p> </font> </body></html>
times isn't font in windows (i believe mac name times new roman).
courtesy of cssfontstack, try this:
font-family: timesnewroman, "times new roman", times, baskerville, georgia, serif;
beyond try using quotation marks fallback in example above see if makes difference. also, apply css styles <font>
tag or <td>
directly. div's not recommended html email, i'd avoid them wherever possible. use font tags exclusively style text , seem come through me.
Comments
Post a Comment