Label with CSS

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"/>
 
C

Curt_C [MVP]

"sckArial" is not the same as "Arial_RedB08"

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top