>From the looks of it, for some reason the table is inheriting from my 
page's body css.
Which has a color of #eee
Even though I'm not explicitly calling it.

But if I put a div around the table I want to have black text, and assign 
it style=color:black, it doesn't seem to work. Does it have certain rules 
in terms of inheriting colors?

On Tuesday, March 5, 2013 5:08:20 PM UTC-8, asgallant wrote:
>
> It sounds like you have some CSS oddities going on on your page, because 
> the default Table visualization CSS doesn't mess with font colors.  Use a 
> document explorer (like in Chrome, Firefox, or IE 9/10) to see what CSS 
> rules are being applied to the Table cells/rows/columns, and you should be 
> able to see what the cause is.
>
> On Tuesday, March 5, 2013 6:51:35 PM UTC-5, Han Chuang wrote:
>>
>> I encountered a strange issue regarding my DataTables. When I do not 
>> explicitly declare CSS styles on the cells (example, using ToJSCode), when 
>> they are hovered over, the font turns a very light grey, and is nigh 
>> unreadable.
>>
>> If I remove the hoverTableRow and selectedTableRow cssClassNames Options, 
>> they will only be highlighted normally, but when I click the column header 
>> to sort, they turn white once again.
>>
>> The one fix I have is to create my own code that returns the JS code like 
>> ToJSCode, and explicitly set all the cells to have black text, but I was 
>> wondering if there are any other fixes? I was hoping I would be able to set 
>> the entire table to a single font color, but I only see NumberFormatter 
>> getting applied to negative numbers, and ColorFormatters goes for 
>> background, not font color
>>
>> Thank you in advance!
>> -Han
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to