I\'m trying to use Myriad Pro as my primary font with Arial and such as a fall-back like so:
font: 13px \"Myriad Pro\", \"Helvetica\", \"Arial\", \"sans-seri
if($("body").css("font-family").indexOf("Arial") > -1
|| $("body").css("font-family").indexOf("Helvetica") > -1) {
$("body").css("font-size", "12px");
}
This works perfectly. I don't know why the guy who posted it chose to delete it..
Edit: NickFitz is correct as it indeed does not work. Silly me, got excited and overlooked the wrong changes it was making.