ToBe

ToBe

  • NA
  • 164
  • 94.7k

Apply CSS files in my master page

Nov 25 2013 2:59 AM
Hi Everybody

I have one folder in my webapplication called Style I'm putting my CSS files there

but when i put the link to that CSS files it will not read it and will give the default style for Master page .

this is my code in the master page head :

<head runat="server">
    <title>My website</title>
          <asp:ContentPlaceHolder ID="head" runat="server">
       <link href="Styles/style.css" rel="stylesheet" type="text/css" />
       </asp:ContentPlaceHolder>
</head>

should I add more codes or files ?

Answers (4)