如题~!
ASP.NET的html中怎么引用CSS文件?要把别的网页追加或者嵌入目前的网页中,怎么引用?

解决方案 »

  1.   

    <LINK href="../WscSystem/Styles/Style.css" type="text/css" rel="stylesheet">
      

  2.   

    up
    <LINK href="../WscSystem/Styles/Style.css" type="text/css" rel="stylesheet">
    ../WscSystem/Styles/Style.css为样式文件路径
      

  3.   

    跟HTMl一样的啊<!--#include file="something.html"-->
      

  4.   

    各位大哥,我试了你们的方法好像都不行的啊~!
    <!--#include file="something.html"-->
    这个我早知道不行才问的~!
    <LINK href="../WscSystem/Styles/Style.css" type="text/css" rel="stylesheet">
    这个引用了,可是在class里面不会有Style值呀~!在DW里面就会有的~!
    难道是style = style.css 
    请哪位大哥能唠叨一次,谢谢谢谢~!
      

  5.   

    <HTML>
    <HEAD>
    <title>NewsInfo</title>
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    </HEAD>
    <body MS_POSITIONING="GridLayout">
    <form id="Form1" method="post" runat="server">
    <table width="100%">
    <tr>
    <td>另一段程序!!</td>
    </tr>
    <tr>
    <td>
    <!--#include file="Admin/Footer.aspx"-->
    </td>
    </tr>
    </table>
    </form>
    </body>
    </HTML>
    这样引用正确否????