Click here to Skip to main content
15,942,934 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to apply a CSS style sheets template which is downloaded from internet. While applying, it's not coming properly in master page and in default web pages.

Could anyone help with code in C#?
:confused:
Posted
Updated 2-Aug-10 20:00pm
v2

Hi, Why C# for applying CSS style sheets, are you trying to apply dynamically ? If so then refer this site http://www.aspnettutorials.com/tutorials/themes/usingcss-csharp.aspx[^]
 
Share this answer
 
Though your question is not quite clear, looks like the CSS stylesheet is not being applied even though you have tried to.

Mostly, this happens when the CSS file referred is not at expected path. Make sure the path used to refer it is correct and valid.
if needed, use this technique to get it right: Resolving Paths in a Multi-Folder WebSite[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900