chetan2309-gmail wrote: Brenden, what you are suggesting is that I should add "Foundation" CSS in head webpart in the master template and not in the master template edit region head tag?
I don't do any inline CSS, I use stylesheets for everything. Adding inline CSS in the templates, layouts, webparts, transformations, etc. doesn't allow them to be minified AND in my opinion, it makes it harder to maintain because you have to look all over the place to find the style definitions.
What I'm suggesting is your main styles should be in the stylesheet assigned to your site in Site Manager>Sites. By default this stylesheet will be loaded first followed by any .css files in your /App_Themes/<site>/ directory.
If I have any page specific styles, for instance on my home page I have 2-3 different sliders and each have about 100 lines of CSS, I'll add those into one file, add a HEAD web part to the template and reference the CSS using the built in methods to allow for minification. Same is true with any JS. If you don't use the built-in tools, you won't see the benefits.
Here's an example of how to reference a stylesheet and a JS file:
<!-- reference a stylesheet created in the Site Manager -->
<link href="/CMSPages/GetResource.ashx?stylesheetname=DevNet" type="text/css" rel="stylesheet" />
<!-- or reference it in the file system -->
<link href="/CMSPages/GetResource.ashx?stylesheetname=/CSSStyleSheets/Custom/style1.css" type="text/css" rel="stylesheet" />
<!--reference a script file in the file system -->
<script src="/CMSPages/GetResource.ashx?scriptfile=/CMSScripts/Custom/jquery.slider-home.js" type="text/javascript"></script>