CSS Font Helvetica Neue
This font is not standard on all devices. It is installed by default on some Macs, but rarely on PCs and mobile devices.
To use this font on all devices, use a @font-face declaration in your CSS to link to it on your domain if you wish to use it.
@font-face { font-family: Delicious; src: url('Delicious-Roman.otf'); }
@font-face { font-family: Delicious; font-weight: bold; src: url('Delicious-Bold.otf'); }
Taken from css3.info
Using Helvetica Neue in a Website
They are taking a 'shotgun' approach to referencing the font. The browser will attempt to match each font name with any installed fonts on the user's machine (in the order they have been listed).
In your example "HelveticaNeue-Light"
will be tried first, if this font variant is unavailable the browser will try "Helvetica Neue Light"
and finally "Helvetica Neue"
.
As far as I'm aware "Helvetica Neue"
isn't considered a 'web safe font', which means you won't be able to rely on it being installed for your entire user base. It is quite common to define "serif"
or "sans-serif"
as a final default position.
In order to use fonts which aren't 'web safe' you'll need to use a technique known as font embedding. Embedded fonts do not need to be installed on a user's computer, instead they are downloaded as part of the page. Be aware this increases the overall payload (just like an image does) and can have an impact on page load times.
A great resource for free fonts with open-source licenses is Google Fonts. (You should still check individual licenses before using them.) Each font has a download link with instructions on how to embed them in your website.
How to set Helvetica font?
If you want all browsers to use Arial whenever Helvetica is not available, you can always specify Arial as a second choice font.
body
{
font-family: 'Helvetica', 'Arial', sans-serif;
color: #444444;
font-size: 9pt;
background-color: #FAFAFA;
}
because font-family
can use any number or arguments, and it will use the first one in the list that is available.
How do I define my CSS to display 'HelveticaNeue-Light' using Pixate Framework?
You found a bug in Pixate and it has been fixed for Pixate Framework 2.1.
How can I use Helvetica Neue Condensed Bold in CSS?
After a lot of fiddling, got it working (only tested in Webkit) using:
font-family: "HelveticaNeue-CondensedBold";
font-stretch was dropped between CSS2 and 2.1, though is back in CSS3, but is only supported in IE9 (never thought I'd be able to say that about any CSS prop!)
This works because I'm using the postscript name (find the font in Font Book, hit cmd+I), which is non-standard behaviour. It's probably worth using:
font-family: "HelveticaNeue-CondensedBold", "Helvetica Neue";
As a fallback, else other browsers might default to serif if they can't work it out.
Demo: http://jsfiddle.net/ndFTL/12/
Helvetica Neue' and Helvetica font
Helvetica
comes free with mac but not with windows. You will have to buy it. But if you have installed Adobe
products it will be installed with many other fonts that come packed with Adobe
.
'Helvetica Neue'
is the newer version and has slight modification than the older one with correction of few problems that occurred with helvetica
.
Related Topics
How to Prevent Image Flash When Transitioning with Blur
CSS Can't Seem to Set Height to 100% of Parent Container
Less CSS Compiler. Unable to Use Darken Property
Displaying Third Tier Submenus Properly with CSS Only Menu
Auto Grid Columns, Without Wrapping to Next Row
Remove The Bottom Margin of a Handsontable
Different Behaviours for Col-Lg
Best Practices for Modifying Foundation CSS Framework
Building a Grid Framework with Inline-Block's
How to Show a <Div> by Clicking an Image in CSS
List-Style-Type:None Not Working! Get Rid of The Bullets
Can't Get My Div to Stay Fixed with Layout
Stopping Content from Getting Pushed Down Due to Overlap in Bootstrap
Min-Height:100% Doesn't Work on My Container