I want to highlight the last row. That doesn't seem to work.
#conformTbl tr:last-child {
font-weight: bold;
}
<table>
<td>
<table>
<tr><td><div id="chart_div" style="width: 700px; height:
110px;"></div></td></tr>
</table>
</td>
<td>
<table id="conformTbl">
<tr><td><div id="vizTbl" style="width: 700px; height:
350px;"></div></td></tr>
</table>
</td>
</table>
On Tue, Mar 25, 2014 at 11:03 AM, asgallant <[email protected]>wrote:
> Do you want to style the last row, or select it? To select, do as Jeremy
> Faller suggested; to style, do this:
>
> #myTableDiv tr:last-child {
> font-weight: bold;
> }
>
> where myTableDiv is the id of your table's container div.
>
>
> On Monday, March 24, 2014 11:17:01 PM UTC-4, TheInnovator wrote:
>
>> Hello,
>>
>> I am trying to style the last row in my table.
>>
>>
>> <https://lh3.googleusercontent.com/-WTGwjSU126E/UzD0tdLFYJI/AAAAAAAAAiw/KYRCHqBxG6Y/s1600/googleTable.PNG>
>> Here's my code:
>>
>> var tblOption = {
>> showRowNumber: true,
>> height:250,
>> width:500,
>> alternatingRowStyle: true,
>> cssClassNames: {
>> tableRow: 'conformanceAlternate',
>> selectedTableRow: 'conformanceFooter' *<--How do I select the last
>> row?*
>> }
>> };
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Visualization API" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-visualization-api/3xHiGt7_1Pk/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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.
> For more options, visit https://groups.google.com/d/optout.
>
--
-Isaac-
http://twitter.com/#!/feedy0urmind
You are today where your thoughts have brought you; you will be tomorrow
where your thoughts take you.
- James Allen
--
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.
For more options, visit https://groups.google.com/d/optout.