S
shapper
Hello,
I am completely confused in relation to Themes and CssClass in Asp.Net
2.0.
Consider a custom control (MyControl) that I am creating which composed
by:
Panel_01
Table_01
Label_01
Image_01
Hyperlink_01
Panel_02
Label_02
Now, consider I want the text in Label_01 to be different of text in
Label_02.
And that I want to format the <a> tags in Hyperlink_01 as follows:
.a, .a:link, .a:visited {color: #950C00; text-decoration:
underline;}
.a:hover, .a:active {color: #950C00;text-decoration: none;}
How should I set the SkinIDs and CssClasses in my controls inside my
Custom control so I can make this work.
I am asking this because sometimes using Skins seems to be a limit over
CSS.
Sometimes I end up using many Skins...
Could someone give me some advice on this?
Thanks,
Miguel
I am completely confused in relation to Themes and CssClass in Asp.Net
2.0.
Consider a custom control (MyControl) that I am creating which composed
by:
Panel_01
Table_01
Label_01
Image_01
Hyperlink_01
Panel_02
Label_02
Now, consider I want the text in Label_01 to be different of text in
Label_02.
And that I want to format the <a> tags in Hyperlink_01 as follows:
.a, .a:link, .a:visited {color: #950C00; text-decoration:
underline;}
.a:hover, .a:active {color: #950C00;text-decoration: none;}
How should I set the SkinIDs and CssClasses in my controls inside my
Custom control so I can make this work.
I am asking this because sometimes using Skins seems to be a limit over
CSS.
Sometimes I end up using many Skins...
Could someone give me some advice on this?
Thanks,
Miguel