I added this line of code into my ASP.NET Web Forms application:
<link rel="stylesheet" href="css/icomoon.css" media="print" onload="this.media='all'">
This code is in the Site.Master masterpage.
And I am now getting an error:
Identifier Expected
If I remove the media and onload properties there is no error:
<link rel="stylesheet" href="css/icomoon.css">
Does ayone know how to fix this? Seems like some kind of issue related to onload getting parsed on the server I just don't know how to escape it. Any help would be greatly appreciated.