Link to home
Start Free TrialLog in
Avatar of SWB-Consulting
SWB-Consulting

asked on

Can't get font to match other site's font exactly via CSS

On http://www.tracksauction.com there is text in the top right.

I am trying to display that exact same text on http://tracksauction.auctionserver.net/

For some reason on the latter the fonts are shifting a little bit out of position when you compare the two.

Any idea why?
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

The slight difference is likely to be down to the different ways you load the Open Sans font - on the first site you are loading the font from the Google API with a link in the HEAD of your document.

In the second site, you are loading the font using a font-face declaration in your CSS.

Try matching the methods that your fonts are called one way or the other. The Google link will take care of cross-broser issues so is probably easier
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The layout isn't the same either.  The 'newer' version has a lot more nested elements.