سؤال

PhoneGap won't load the Google font or the jQuery lib. Here is the code

<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200' rel='stylesheet' type='text/css'>

and here is the HTML

<span style="font-size:24px;">Featured Items</span>
هل كانت مفيدة؟

المحلول

You don't specify the font-family anywhere.

<span style="font-family:'Source Sans Pro',sans-serif; font-size:24px;">Featured Items</span>

Note that inline styles should be avoided when possible.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top