Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reading an CSS file

Status
Not open for further replies.

nice95gle

Programmer
Nov 25, 2003
359
US
Can I read a css file from an asp file.

This only work when I place it in a HTML file
Code:
<link rel="stylesheet" href="RDB_StyleSheet.css" type="text/css">

but when I place it in a ASP file nothing happens.

Thanks
 
Could you post us the code? I use external css stylesheets in asps all the time and never had any problems with it. If you could provide a link to a working .html and not working .asp page would be even better.
 
Are you sure you set your path to the CSS file correctly?

opinion {
inline-styles: are-messy;
internal-stylesheets: waste-space;
external-stylesheets: are-bliss;
}
 

>> when I place it in a ASP file nothing happens

Are you placing it in the server-side portion of the ASP file, or the client-side portion?

If you're placing it server-side, then I would expect nothing to happen.

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top