2 replies [Last post]
tramvai
Offline
newbie
sibiu
Last seen: 13 years 3 weeks ago
sibiu
Joined: 2009-07-20
Posts: 2
Points: 0

Hi. First of all i am new to CSS styling and wed sites.

I am using asp.net and i have created an html table in wich i added some treeviews, labels and stuff.

I aslo created a StyleSheet where i wanna add style to a specific label within the table;

Maybe it's very simple but i don't know what else to do, i am trying to do that by ours.

For instance,

#Label1
{
color:Orange;
}

it's not working, if has no effect. Label1 is the name of the label.

Should i add a reference to the table too? i tried something but it were wrong

flashcat7777
Offline
Enthusiast
Last seen: 12 years 14 weeks ago
Timezone: GMT-5
Joined: 2006-05-29
Posts: 64
Points: 5

Post the HTML output when

Post the HTML output when you click "View Page Source".

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 31 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

tramvai please don't ask the

tramvai please don't ask the same question twice it's just confusing, stick to the one thread from now on, as the other seems to have a little more detail we'll keep that running, this one I will be disabling comments for.

You do need, however, to do as asked and supply a bit more detail such as html.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me