Click here to Skip to main content
14,606,379 members
Rate this:
Please Sign up or sign in to vote.
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
Rate this:
Please Sign up or sign in to vote.

Solution 1

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[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

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[^]
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100