Return to Snippet

Revision: 66527
at May 20, 2014 03:02 by buda9


Initial Code
$(document).ready(function(){
	$("body #results p").css("font-family","\'Lucida Grande\'");
});

Initial URL

                                

Initial Description
As you can see you need to add backslash and apostrophe => \' to font family with space between. If there isn't spaces in font name just use double apostrophes, e.g. "Lucida Grande"

Initial Title
Apply font-family using jQuery

Initial Tags
jquery

Initial Language
jQuery