Quote:
Originally Posted by rhyous
It was the quotes. As soon as I wrapped the quote names, it worked.
Note: Also, Publisher Defaults must be set to On.
Code:
@font-face
{
font-family: "Alex Brush";
font-weight: normal;
font-style: normal;
src: url("../Fonts/AlexBrush-Regular-OTF.otf");
}
.script {
font-family: "Alex Brush";
font-size: 1.5em;
}
Interesting that validating with FlightCrew didn't catch that.
|
1) Flightcrew does not check the CSS. Use W3 (a right click option) CSS validator.
2) You could have fonts Alex with Brush as a fallback (technically; there is still a missing comma). You could have had "Alax Brash", and W3C would not catch that either.
The validators are Syntax and matching keyword checkers