Click here to Skip to main content
15,917,455 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to apply a CSS style sheets template in asp.net.

I downloaded some ready made css from internet. While applying, it's not coming properly in master page and in default web pages.

The template has some images in another folder called images.
Even if copy past that folder also I'm getting that problem.

When I drag and drop that css into my asp page its shows only the back ground color, it's not showing any options, images, and so on which I saw as preview when I download from that site.


Please resolve my problem and give me some codes and tell me how should I set that path.
Posted
Updated 23-Aug-10 22:47pm
v2
Comments
Dalek Dave 24-Aug-10 4:47am    
Edited for Readability, Spelling and Grammar.

Is your h key broken, or do you not realise that the word is 'that' ?

Basically, you can't copy random code from the web, without knowing how to use it. We can't give you codes to use, we don't know what you're doing wrong. I suggest looking at the sample you downloaded and working out for yourself why your site is different.
 
Share this answer
 
Are you applying the link to the CSS Path?

Something like:
<br />
<link rel="Stylesheet" href="StyleSheet.css" type="text/css"/><br />
 
Share this answer
 
Comments
Balaji_Reddy 24-Aug-10 5:33am    
ya i'm applying like tis only
You said you downloaded css file from the internet. Ok, what is it suppose to do? How is it going to do it? How is it going to be useful for you? How is it going to merge with your code? What implication does it have?

Don't expect you can grab random files from the internet and magically it will work for you.
 
Share this answer
 
Check that your aspx Page contain

<link rel="Stylesheet" href="StyleSheet.css" type="text/css" />

and apply the classes defined in your stylesheet to TD and respective controls.

Ex


<tr>
<td class="tdClass"><a href="Login\Login.aspx" class="LoginClass" runat="server"></a>
</td>
</tr>



Hope this may help u... :)
 
Share this answer
 
v3

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