Posted on: 7/30/2012 9:16:13 PM | Views : 1372

Hi. I have site master page called Site2Master. I also have and and aspx. page called Search. I got two css files - Site2Master.css and Search.css. So i refert to first file in the master page, but i can't refer to Search.css in the aspx. page! Let me show some code:
Site2Master
<% @Master Language="C#" AutoEventWireup="true" CodeBehind="Site.Master.cs" Inherits="Library.SiteMaster" %> <% @Import Namespace="System.Globalization" %> <% @Import Namespace="System.Threading" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title> </title> <link href="~/Styles/SiteMaster.css" rel="stylesheet" type="text/css" /> <asp:ContentPlaceHolder ID="HeadContent_SM" runat="server"> </asp:ContentPlaceHolder> ...

Go to the complete details ...