Nowrap for the HTML table caption

Viewed 2924

I am creating an html table using VBA and everything works fine except the table caption that gets a line break. I am trying to make it no-wrap, but it is not working, where do I make a mistake?

<Caption style="white-space: nowrap"> MyTable </Caption>

I applied the same styling to <td> tags too, but the result is the same. It seems that caption is bound to the first column's width, how can I make caption to be shown in one line only regardless of the columns width?

1 Answers
Related