Struggling to register a conditional CSS for a SharePoint 2013 masterpage.
No matter what style I apply, the layout remains unchanged.
After researching, it seems like this is how I should register the CSS:
<SharePoint:CssRegistration ID="CssRegistration2" name="<% $SPUrl:~sitecollection/style library/ie.css %>" runat="server" after="custom.css" ConditionalExpression="IE 11" />
I actually want this CSS to apply to all versions of IE, but since it didn't work, I just specified the version I'm currently using.
The custom.css
file is another CSS file I've successfully registered in a similar manner that I'm attempting with this one.
Any assistance would be greatly appreciated.