Application not displaying styles

Discussion in 'ASP.NET / ASP.NET Core' started by Bruce, Mar 10, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Bruce

    Bruce DiscountASP.NET Staff

    Try this


    <link rel="stylesheet" type="text/css" href="/BA2500_Test1/styles/sharkstyle.css" />


    quote:Originally posted by bmacdonald

    I have a website which uses both embedded and external CSS stylesheets. The styles work on my own computer. However, when I loaded the application onto the discountasp.net server, and then configured it as an application, the styles don't work.

    Here is the url http://www.bmacdonald.com/BA2500_Test1

    My link element points directly to my stylesheet in the styles folder like so:
    <link rel="stylesheet" type="text/css" href="styles/sharkstyle.css" />
    The stylesheet is there, and works on my machine. Even more surprising, my embedded styles won't work either.

    <style type = "text/css">
    #login { margin-top: 200px; }
    body { background-image: url(images/dinosaur_teeth_2.gif); }
    table { width: 300px; }
    td { font-weight: bold; }
    </style>


    My other stylesheets work in folders that are not configured as an application.





    bmacd
    </blockquote id="quote"></font id="quote">
     
  2. I have a website which uses both embedded and external CSS stylesheets. The styles work on my own computer. However, when I loaded the application onto the discountasp.net server, and then configured it as an application, the styles don't work.

    Here is the url http://www.bmacdonald.com/BA2500_Test1

    My link element points directly to my stylesheet in the styles folder like so:
    <link rel="stylesheet" type="text/css" href="styles/sharkstyle.css" />
    The stylesheet is there, and works on my machine. Even more surprising, my embedded styles won't work either.

    <style type = "text/css">
    #login { margin-top: 200px; }
    body { background-image: url(images/dinosaur_teeth_2.gif); }
    table { width: 300px; }
    td { font-weight: bold; }
    </style>


    My other stylesheets work in folders that are not configured as an application.





    bmacd
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page