0

I need to make all HTML styling inline. How would I go about adding an @import (Google Font) to the body tag? I have the following code, but it does not work with the @import.

<body style="@import url(http://fonts.googleapis.com/css?family=Chelsea+Market);font-family: 'Chelsea Market', 'Comic Sans', 'Comic Sans MS', cursive;">
James
  • 1,088
  • 3
  • 11
  • 29
  • 1
    You can't add google fonts like that. Put the `` in your `` element and then add the fonts to the `` like ``. – Vucko May 02 '15 at 21:20
  • @Vucko Unfortunately some clients strip out `` and `` tags, so is there a way to entirely have this inline? – James May 02 '15 at 21:21
  • There is also a javascript solution - check the google page for that code. – Vucko May 02 '15 at 21:26

0 Answers0