Trying to integrate Font-Awesome icon fonts using the BootstrapCDN link with what seems like the latest version:
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
The link has been added to the <head>
section of the HTML file, accompanied by this simple code snippet:
<!DOCTYPE html>
<html>
<head>
<title>Font-Awesome Icons</title>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
</head>
<body>
<p><i class="fa fa-camera-retro"></i> Camera Icon<i class="fa fa-facebook"></i> Facebook Icon</p>
</body>
</html>
Despite following these steps, the icons are not displaying correctly. Tested on the latest versions of FireFox (27), Safari(7), and Chrome(33). Verified that the fa
class is assigned to each icon and the fa-
prefix is used instead of the old icon-
prefix. Referenced a guide from headwaythemes.com and checked Stack Overflow for similar issues but no solution found.
I do not have the fontawesome.otf installed, but since glyphs are visible when browsing fortawesome.github.io, it might not be the issue. Considering downloading and hosting the Font Awesome files along with the website to avoid dependency on the CDN link for future updates, even though only a few icons will be utilized?