CSS and JS files are added to the page head always (even when using the single page web part feature). This way it overrides the built in SharePoint CSS styles. The solution is compatible with all SharePoint versions since WSS 3.0, including MOSS 2007,
Foundation 2010, and SharePoint 2010. Just enter the URLs of the CSS and JS files in text fields and they are added in the right place. No need to use SharePoint Designer or Visual Studio. Just create a CSS or JS file (notepad?), upload to a SharePoint
Library, and then add the URL to the custom site settings page or web part property (depending on what feature is activated, and how you are using it). That's it!
File URLs should be entered in the provide text fields (simple but effective). The URLs should be either relative to the SharePoint root site, or be absolute. Multiple URLs can be added, include a vert-pipe character to delimit them (|). URLs are added to the
page in the order they are entered in the text fields.
Built in Visual Studio 2008 using WSPBuilder, so its forward compatible with current and past SharePoint versions.
Custom Settings Page
Web Part Properties
A product by Ben Steinhauser, brought to you by B&R Business Solutions.