Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

html tags and css problem

Status
Not open for further replies.

simonchristieis

Programmer
Jan 10, 2002
1,144
GB
I have a css include file.


.baseText {font-family: arial, verdana, sans-serif; font-size: 16px; color:FFFFFF; text-decoration: none;}

.boldText {font-weight: 900; }

.darkText {font-family: arial, verdana, sans-serif; font-size: 12px; color:000080; text-decoration: none;}

and I am using in these tags

<td>
<a class=&quot;baseText boldText&quot;><%=rs(&quot;eventName&quot;)%></a>
</td>
<td colspan=&quot;2&quot; class=&quot;baseText boldText&quot;>
<%=rs(&quot;eventDate&quot;)%>
</td>

the problem is that the <td> tag shows black text ??

anyone know why ?

Simon

 
Need a # in the color...

color:#FFFFFF

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

zen.gif
 
.baseText {font-family: arial, verdana, sans-serif; font-size: 16px; color: #FFFFFF; text-decoration: none;}

.darkText {font-family: arial, verdana, sans-serif; font-size: 12px; color: #000080; text-decoration: none;}

If it wasn't a typo when you made the post, you should add the # when declaring the font color. That should solve the problem.
 
Thanks - that's been doing my head in.

Couldn't see the wood for the trees I guess.

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top