By Omar L.
Usually when we work on the .Net FronEnd, we just add this comment in our html.
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="sieena-ie7.css"/>
<![endif]-->
This does not work in MOSS 2010.Solution.We need to implement a CSS Registration (SharePoint Control) with a conditional expression in our Master Page.This is the correct syntax.
<SharePoint:CSSRegistration Name="sieena-ie7.css" ConditionalExpression=" IE 7" runat="server" />
When the page is rendered, it is going to generate the following conditional comment.
<!--[if IE 7]...
By Guillermo Cedillo
Create new Project
The master page contains concepts from boilerplate. Boilerplate is an excellent template which groups the best recommendations for webpage performance (it helps you a lot to obtain an A-grade with Yslow or Google PageSpeed).
For our project I just add some features from boilerplate. I like to keep it simple but feel free to review it and implement the best concepts for your project.
Those basic concepts are:
• Add styles on the top and scripts on the bottom.
• Add ie6/ie7/ie8... class in the html tag to allow ie fixes for css.
• Add metatags for compatibility and descriptions.
• Add modernizr for a...