S
Segundo Serrano
Hello,
span
{
font-weight:bold;
}
Regards,
S.
--------------------------------------------------------------------------------
"Keith G Hicks" <[email protected]> escribió en el mensaje asp.net 2.0
I am just learning css. I created a css file for an aspx page. On the page I
have several ASP:Label controls. I want them all bold. So I did this in my
css file:
label
{
font-weight:bold;
}
it did nothing to the page when I ran it.
I added a cssclass="myclass" to one of the labels and then did this in the
css file:
.myclass
{
font-weight:bold;
}
that worked fine.
Do I have to set a cssclass in each control's markup in order to do this or
is there a way without doing that?
Thanks,
Keith
span
{
font-weight:bold;
}
Regards,
S.
--------------------------------------------------------------------------------
"Keith G Hicks" <[email protected]> escribió en el mensaje asp.net 2.0
I am just learning css. I created a css file for an aspx page. On the page I
have several ASP:Label controls. I want them all bold. So I did this in my
css file:
label
{
font-weight:bold;
}
it did nothing to the page when I ran it.
I added a cssclass="myclass" to one of the labels and then did this in the
css file:
.myclass
{
font-weight:bold;
}
that worked fine.
Do I have to set a cssclass in each control's markup in order to do this or
is there a way without doing that?
Thanks,
Keith