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

Solution 1

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

Solution 2

Are you applying the link to the CSS Path?

Something like:
<br />
<link rel="Stylesheet" href="StyleSheet.css" type="text/css"/><br />
   
Comments
Balaji_Reddy 24-Aug-10 5:33am
   
ya i'm applying like tis only
Rate this:
Please Sign up or sign in to vote.

Solution 3

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

Solution 4

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... :)
   
v3

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