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" /-
-/asp:GridView-
Example for CSS file
body
{
background-color :#F0F0F0;
}
Thank you so much
ReplyDeleteIts too helpful to me about differentiate both