Click here to Skip to main content
15,889,864 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
My HTML coding is fine link works and everything.
The only problem is the when I use it on a mac the font does not look the same as the one on Windows.
What tags should I be using in order to change to the correct font on a mac computer.
Here's the coding I used for the webpage:
<!DOCTYPE html>
<html>
<head>
<title> Sherwood Style </title>
<meta charset="utf-8"/>
<style type="text/css">
body{ background-color:#000000;
font-family:Bradley Hand ITC;
}
a{ text-decoration: none}
fieldset{ border: none;}
form{float:right}
</style>
</head>
Posted

1 solution

In principle, you can embed your font in HTML, then it will be rendered in the same way on different systems:
http://stackoverflow.com/questions/11737168/how-to-embed-font-css[^].

However, I would not recommend that. Different browsers introduce even more noticeable difference, on the same OS or not.

For some ideas on browser incompatibilities, please see my past answers:
webpages layout change when running in different browsers.[^],
How Do I Convert Desktop Site Into Mobile Site[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900