Style Sheet not loading

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
 
C

Chris Jackson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top