Wednesday, September 17, 2014

Referring CSS in Application Page

We may get confused to refer a css in application page. That is, Where it should be placed. Because, It will show an error if we placed the css wrong place.

Here the correct place to refer

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <link href="Your css URL" rel="Stylesheet" id="linkStyle" runat="server" type="text/css" />

</asp:Content>

No comments:

Post a Comment