Label with CSS

  • Thread starter Thread starter Steven K
  • Start date Start date
S

Steven K

Hello,

I have a CSS file (mycss.css) that has the following:
..Arial_RedB08 {font-family: Arial, Helvetica, Verdana; font-size: 8pt;
font-weight: bold; color: rgb(204, 51, 51);}


I am including that CSS into my page:

<link rel="stylesheet" type="text/css" href="../../Connections/price.css">

Currently, I am formatting my text as follows:

<td class="sckArial_RedB08">
<asp:Label id="lblUploadStatus" runat="server"
Text="Welcome to my page."
EnableViewState="False"/>
</div></td>


My question is, how do I use the class="sckArial_RedB08" in the style
section of my label?

<asp:Label runat="server"
Text="Welcome to my page."
Style="font-weight:bold; color:#0000FF"/>
 
"sckArial" is not the same as "Arial_RedB08"

use class "Arial_RedB08" if that's the class you want....
 
Back
Top