Style Sheet not loading

  • Thread starter Thread starter Steven Lee
  • Start date Start date
S

Steven Lee

Hi there, I'm a newbie in using style sheet (.CSS file).

When I developed the ASP.NET pages on my desktop, everything was
working and looking great.

When I uploaded the files (ASPX, CSS, etc) to the web server, the
styles didn't appear although all logics were working.

After searching on this NG, I tried the followings but none resolved
the problem.
- Use full path of the style sheet.
- Refresh the page.
- Do PostBack.

Any help would be greatly appreciated.

Thanks in advance.

Steve
 
Style Sheets are loaded by the client - you just put a link into your
document, and the client sees this and loads it. You want to make sure the
client can actually get to this file. Try entering the full path to the css
sheet into your browser, and see if you get an access denied or other
informative message. If you can't get to the style sheet, you may want to
investigate the file permissions on this document.
 
Back
Top