SharePoint 2010 CSS references in Master Pages
Ref: http://erikswenson.blogspot.com/2010/01/sharepoint-2010-css-references-in.html Here are some of the most common ways to reference your custom CSS for SharePoint 2010. One key change over 2007 is the ability to specify After=”corev4.css” in the CssRegistration to make sure your custom CSS is referenced after the OOTB corev4.css file. <SharePoint:CssLink runat="server" Version="4"/> Note: Default OOTB Output Order: <link rel="stylesheet" type="text/css" href="/_layouts/1033/styles/Themable/corev4.css"/> <SharePoint:Theme runat="server"/> Note: If a theme is enabled Output Order: <link rel=”stylesheet” type=”text/css” href=”/_themes/ [UniqueCounter#] /corev4- [u=UniqueHex#] .css?ctag= [UniqueCounter#] ”/> <SharePoint:CssRegistration name=”customfolder/samplecustom.css” runat=”server”/> Note: Alternate CSS on Server but comes before corev4.css Output Order: <link rel="styleshe...