Difference between skin file and CSS file
- Skin file has .skin file extension and style sheet has .css file extension.
- Skin file can be used on ASP.NET server controls, where as style sheets are used in standard HTML mark up elements.
- Skin file is rendered from IIS server. CSS is rendered from the client's browser. (That's why when you apply CSS elements, you get browser specific issues.)
-asp:GridView runat="server" SkinId="gridviewSkin" BackColor="White" -
-AlternatingRowStyle BackColor="Blue" /-
Example for CSS file