2

HTML fonts that will work independently of the OS?

 2 years ago
source link: https://www.codesd.com/item/html-fonts-that-will-work-independently-of-the-os.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

HTML fonts that will work independently of the OS?

advertisements

I've been making a website, but the only fonts I could get working were Monospace, Arial, and the default (Times New Roman?) I tried to find a font like this:

I tried: <body style="font-family:tahoma;">, <body style="font-family:cabin;">, and many others, but I couldn't find any fonts that would work. And the ones that did work all looked the same and were very ugly. Do you know of any fonts that would work regardless of operating system?


To get your font looks the same in all OS you'll better use a font from a font provider like Google Fonts for your case you can add this line in your header

<link href='http://fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext' rel='stylesheet' type='text/css'>

and after that try

<body style="font-family:Lato">

Related Articles

How do I make the layout that will work both on the tablet and the phone?

I made the layout from xml with on tablet layout of emulator size. But when open on same layout on android phone device then every thing distorted, So can i make a xml layout that will work fine in both of device phone and tablet also. Please suggest

How to install and use a new font that will be used in the rails?

Does anybody know how to install some of my custom font into rails and use it in my application to show in view.html.erb (for example) so everybody can see text written in new font? I am using rails 3 EDIT: I see I have to correct myself. I use font

Get text that will be displayed to the html user

Bit of a random one, i am wanting to have a play with some NLP stuff and I would like to: Get all the text that will be displayed to the user in a browser from HTML. My ideal output would not have any tags in it and would only have fullstops (and any

How do I get a Uri to an image in my assets that will work for the SearchManager.SUGGEST_COLUMN_ICON_1 column?

I have successfully integrated my app's country search into the global search facility and now I am trying to display each country's flag next to the search suggestions. Search inside my app works this way but of course I have control of the list and

Is there a css or html element that will force the push content down a page?

I am curious if there is a css or html element that will force push content down to the bottom of a page. I would like some content to be at the bottom of the page below some php generated content that I cannot alter.CSS - this won't push other conte

What alternative to the BDE engine that will work with Paradox Table?

I am working with Paradox table using BDE engine. Lately, we are simply running into all kinds of problem trying to install BDE engine - Out of space, Error Copying BLW32.dll file, on and on. However, if you keep trying it eventually installs. I am s

A function that will work with several elements

I have about 50 RadioButtonList on a form with a checkbox next to them. When you check the checkbox the radioButtonList gets enabled. I have the code to make it work for one but I am looking for a way to write one function that will work for all 50 R

How do I place multiple html buttons that act as links on the same page?

Does any one know how I can place multiple html buttons that act as links on the same html page? I am currently doing this: <form action="http://justchillinc.wix.com/just-chill"> <input type="submit" value="Just Chill&quo

How to use a variable in a class that will be independent of objects created in Python?

I want to use a variable that will be independent of any objects the class may have : class A: var = 5 ob1 = A() ob2 = A() ob1.var += 2 print ob2.var I want that once ob1 modifies the value of var from 5 to 7, ob2.var also shows up 7 instead of 5. Ho

c ++: Is it possible to define overloaded operators in a derived class that will work objs base class type

Is it possible to define overloaded operators in drived class that will work objs from base class type? for example:lets say i have a class Point and i want to do all the operator overloading in a class named Operators that will inherit Point class i

zend framework php ErrorController: how to launch an exception that will be displayed in the error controller

I created an ErrorController using the zend framework tool, what I don't understand is how do i actually use it? I want instead of throwing an Exception that will shown on the screen, to throw an error that will be shown in the Error Controller. usin

View fonts that are not installed on the PC

I have been looking at services like "Font Deck" and "Typekit" - are there any free alternatives to these? I want to be able to display fonts that are not installed on the web-users PC (without having to use images) Can you help me out

Is there a date-time string format that will work in all major browsers (including the IE Quirks mode) when using javascript Date.parse ()?

I'm trying to find a date-string format that will allow me to use Date.parse to get a valid date. (I'm using a third party javascript library that is using Date.parse) I've tried using an ISO formated date string like Date.parse("2011-05-06T17:22:11.

How to set the layout that will work on 720p as well as 1080p screens?

I know I'm supposed to define different layouts for different screens, please read on. I'm working on the app that will be run an "Android on the stick" plugged to either 720p or 1080p TV and left alone to show some "slide show". I nee

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK