JavaScript: In a cell: change background and font color

easy question.. should be.. wracking my brain cause I should know this..
I have a table cell held on oRow.. to change the background color of the cell I use:

oRow.style.backgroundColor='C6E8F2';

which works just fine.. but how do I change the fontcolor as well? I've tried style.color, style.font-color and various other expected values, but nothing works..

thanks
-Paul
PMH4514Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PMH4514Author Commented:
I was right..
oRow.style.color = '000000';
 
works..
I had an anchor tag on the text which was keeping it from changing. I've been looking at this screen too long.

this question is self-answered
0
ZvonkoSystems architectCommented:
Ok, then please let close this question by posting a zero points request in this topic area:
http://www.experts-exchange.com/Community_Support/

Put a link to this question to be closed and to get points refunded.

Cheers,
Zvonko

0
ChmodCommented:
Points refunded & question saved to PAQ

Chmod
Community Support Moderator @Experts Exchange
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Fonts Typography

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.