View Full Version : Help me keep this font consistent

06-06-2012, 06:42 AM

I'm using a css font on my website however the font isn't a standard one hence it is not on most computers. how do i adjust my css code to ensure that the font displays correctly on every computer?????

.title { font-family: Kozuka Gothic Pro R; font-size:30px; color:#000000;}

06-06-2012, 07:38 AM
As far as I know you can't force a font on people if they don't have that font already installed. You can specify backup fonts in your code though separated by commas in case they don't have that first font.

.title { font-family: Kozuka Gothic Pro R, Arial, sans-serif; font-size:30px; color:#000000;}

06-06-2012, 08:49 AM
Oh okay, Just that for example when i'm using the computer without the font installed on my website it doesn't show, but i visited another website which is using the same font on that very same computer and it showed. hence i thought something could be done

06-06-2012, 08:54 AM
I like to load special fonts via google.

here is a similar font


06-06-2012, 10:02 AM
Modern browsers support @font-face, which allows you to upload a font for use on your site - this is what Google fonts uses.

If you need to create your own @font-face resource, have a look at FontSquirrel (http://www.fontsquirrel.com).

06-06-2012, 12:48 PM
Using the font you mentioned above will probably not work in a low configured system, then you might use the code given in the first reply....

Helen wojick (http://www.swingersocial.com)