Underlining last child in a table?

I would like to underline the last child in a table ie specifically the last row, last cell.

I am using CSS:

tr:last-child td:last-child {

        text-decoration: underline;

}

This works great on a basic table, but on a detail table, it does not work at all…perhaps I am missing something?

Hello Chompsey,

I tried and it worked well for me.

One possibility is that you have the same style applied with a different option in another css further down, which overrides the property you set.

The styles are applied in the order they are read. The first style is applied and then the second and so on. You can check your Cascading Style sheets clicking with the right button of the mouse on your section in the “Resources” tab and select the option “includes…”.

You should be able to see your style queue and then make sure your style sheet is at the bottom of the list.

Best regards

Luciano

Everything is in order as you have described. However, in the design view, the correct field is underlined but in the preview, it no longer underlines at all as if to say that there is a blank line at the end of the table?

Blaine

Hello Blaine,

I realized that the CSS was well applied on the and on the , but is not working on the for dynamic data.

This issue has been reported for the development department.

Regards

Luciano