none
external style sheets RRS feed

  • Question

  • Hello I have a dumb question. I am trying to add a css sheet to a vs asp form. I created the CSS and added it to the project. I see it in the project folder but I cant seem to get it to reference it and use it. I tried the following but when I add a class it doesnt work any ideas?

    <head runat="server">
        <title>form1</title>
        <link rel="stylesheet" href="cssDeafult.css" type="text/css" media="screen"/>
    </head>

    Saturday, June 3, 2017 12:00 AM

All replies

  • Hi Quarinteen,

    Thanks for posting here.

    Since this forum is about VS IDE, as your issue is more related to asp.net. So we suggest that you can submit you question to asp.net forum, More community members and MVP on that forum may further look at your issue and provide more suggestions. 

    Thanks for your understanding and cooperation.


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, June 5, 2017 6:11 AM