J
Jurjen de Groot
I'm experimenting with StyleSheets in ASP.NET.
If I put a label on my webform and <LINK> the CSS file with the following
entries to the webform it doesn't work. It only works if I fill the property
'cssClass' of the label with the value 'label'.
..label
{
background-color: Red;
font-family: Verdana;
font-size: xx-large;
}
Isn't there some standard way of connecting classes (or whatever) to the
standard ASP.NET controls without having to fill the 'cssClass' property of
each and every control on the page ? Like using .label for labels or
..textbox for textbox controls ?
Kind regards,
Jurjen de Groot
Netherlands.
If I put a label on my webform and <LINK> the CSS file with the following
entries to the webform it doesn't work. It only works if I fill the property
'cssClass' of the label with the value 'label'.
..label
{
background-color: Red;
font-family: Verdana;
font-size: xx-large;
}
Isn't there some standard way of connecting classes (or whatever) to the
standard ASP.NET controls without having to fill the 'cssClass' property of
each and every control on the page ? Like using .label for labels or
..textbox for textbox controls ?
Kind regards,
Jurjen de Groot
Netherlands.