Solved

Cannot change font color with css

Posted on 2013-05-17
9
455 Views
Last Modified: 2013-05-17
I have been unable to change the font color to white with css:
.Bfont22{
       font-size: 22px; font-family: verdana, arial, helvetica, sans-serif;
               font-weight: bold;
                     font-color: #FFFFFF;
                     text-align: center;
       }  
I have also tried:
 font-color: white;
I am trying to use it like this:
<span class="Bfont22"> RoofCalcWriter 10.8</span></font></td>
What is wrong ?
0
Comment
Question by:isnoend2001
  • 5
  • 4
9 Comments
 
LVL 14

Expert Comment

by:Juan Ocasio
ID: 39176433
change font-color to color
0
 

Author Comment

by:isnoend2001
ID: 39176451
Thanks jocasio123, but it made no difference
.Bfont22{
       font-size: 22px; font-family: verdana, arial, helvetica, sans-serif;
               font-weight: bold;
                     color: #FFFFFF;
                     text-align: center;
       }  
Here's the unfinished page:
http://roofgenius.com/test.asp
0
 
LVL 14

Expert Comment

by:Juan Ocasio
ID: 39176466
The class you're using on the span is wrong.  You have it as .Bfont18
0
 

Author Comment

by:isnoend2001
ID: 39176482
Sorry, for some reason the file did not upload, But the problem remains even with the correct
span name
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:isnoend2001
ID: 39176530
I've requested that this question be closed as follows:

Accepted answer: 0 points for isnoend2001's comment #a39176451

for the following reason:

Thanks I was styling the wrong line with a white background

<table class="NailTable">
<caption><span class="Bfont12">RoofCalcWriter 10.8</span></caption>
<tbody><tr>
       works on the blue background
      <th colspan="3"><span class="Bfont22">RoofCalcWriter 10.8</span></th>
It was working, but could not be seen white on white
0
 
LVL 14

Expert Comment

by:Juan Ocasio
ID: 39176523
Hmm. That's strange.  I changed the doc in firebug and got the white text.  Perhaps you should empty your cache to see if that works.
0
 
LVL 14

Accepted Solution

by:
Juan Ocasio earned 500 total points
ID: 39176528
I'm not sure why this is being closed.  I've identified the fact that the wrong class was being used, and even tested it in firebug.  The class that was being used was <span class="Bfont18"> as I reviewed the file That was attached.  Now the span that he is showing is correct with the proper class.
0
 
LVL 14

Expert Comment

by:Juan Ocasio
ID: 39176531
I'm not sure why this is being closed.  I've identified the fact that the wrong class was being used, and even tested it in firebug.  The class that was being used was <span class="Bfont18"> as I reviewed the file That was attached.  Now the span that he is showing is correct with the proper class.
0
 

Author Closing Comment

by:isnoend2001
ID: 39176535
I must have clicked the wrong button, thanks for the help
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now