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

I have a problem here.I have a style.css file in my folder file(contains aspx page) where this style.css for aspx page for this folder only.

It is working find in server side,all the background colours changed accordingly to the css file.

But in client side,no effect.The page seems to be "bleached",no colours as defined in the css file.

Any idea how this could happen?
Posted
Comments
thatraja 13-Dec-11 5:40am    
Show the code HTML...
sriman.ch 13-Dec-11 5:42am    
When you are hosting an application give exact location of your css files and all. This issue is mainly due to incorrect path...
pwtc222 13-Dec-11 22:50pm    
<link type="text/css" href="Folder1/Folder2/StyleSheet.css" rel="Stylesheet"/>
pwtc222 13-Dec-11 23:12pm    
only the font type which i set in the css file is running
sriman.ch 14-Dec-11 0:54am    
If you have used any images then their path should also be correct...check this also....

Your stylesheet path is wrong. please check link rel="Stylesheet" tag for file path.
 
Share this answer
 
Check the source of your html , the path of the css file might be corrupted.
Try the following:

<link rel="Stylesheet" type="text/css" href="<%= ResolveUrl("~/Css/test.css") %>"/>
 
Share this answer
 
v2
make copy css code from server side and create new css file in the client side.. let it be try
 
Share this answer
 
Comments
pwtc222 13-Dec-11 23:19pm    
its already in temporary internet files when i run the application on browser

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