Gmail 에서 font-family 적용하기
Gmail 에서 Java 프로그램으로 html 형식으로 메일을 보낼 때 font 가 제대로 적용되지 않는데, 태그 안에 style 속성을 적어주는 inline 형식으로 해야지만 Font가 적용된다.
Changing the font-family in Gmail
http://stackoverflow.com/questions/13719034/changing-the-font-family-in-gmail
Once you have done this, you can use css styling, but this must be done through inline styles i.e.
<div style="font-family: times, serif;">
as you cannot link to external stylesheets.
Edit: Email will ignore the
tbody
tag so try using adiv
orp
instead
그리고 그 Font 마저도 OS 안에 들어있는 font 로 지정해야지만 font 가 제대로 보인다고... (web font를 사용할 수 없다.)
Gmail not showing correct font
http://stackoverflow.com/questions/28747848/gmail-not-showing-correct-font?rq=1
Gmail does not support @font-face.
For you customize the font, you should write inline in each block of text that you have:
< span style="font-family: your-chosen-font">your text< /span>
Note: must be a font we have natively on Windows or Mac.
font-family 스타일을 inline 으로 tag 마다 넣어주지 말고, div 태그로 크게 감싸서 한번만 넣어주면 그 안의 태그들에 모두 적용되서 보인다.