Displaying The Table Title

Permalink
I know a small amount of php, but need to be directed on how to have the table title display at the top of each table as seen in:http://www.pathology.washington.edu/clinical/collagen/index.php/ava...

I also need to style the last row to look different, because it is the total cost and needs to stand out.

Could I have help with these 2 customizations? Thanks.
sschildbach
View Replies:
smartwebprojects replied on at Permalink Reply 2 Attachments
smartwebprojects
We apologize for delayed response. I'm attaching a customized template with the table name added in the top row and an extra CSS class added to the last row in the table. This template is based on the blue custom template and looks like shown on the screenshot (also attached).

What exactly is added:
The very first row will have this class: "swp-table-title". Inside this row there will be a <th> with a colspan equal to the number of table columns.

So you can modify css for the table name row using these selectors:

tr.swp-table-title {
}

or

tr.swp-table-title th {
}

The last row will have this class added: "swp-table-last-row", so you can use these css selectors:

tr.swp-table-last-row {
}

or

tr.swp-table-last-row td {
}


If you send us the code of your current template, we can apply the changes directly to your template.

Best regards.

Natalia Vlasova
Smart Web Projects