How to adjust table format in text message and thumbnail card that sends to user

Li Emily 20 Reputation points
2026-11-25T07:06:53.75+00:00

Hi

I own a chatbot on Teams and am wondering how to adjust the table format in messages sent via bot framework.

I want to narrow the row height of tables in normal text message and thumbnail card. Currently I tried <tr style="height: 30px;"> but it's not working. Seems there is a default format of tables. Could you help with it? Thanks

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

0 comments No comments

1 answer

Sort by: Newest
  1. Daniel-Vo 8,575 Reputation points Microsoft External Staff Moderator
    2026-11-25T08:20:25.68+00:00

    Hi @Li Emily ,

    Good day! I hope you're doing well.

    Based on the current Teams documentation, Teams supports only a limited subset of HTML formatting for bot messages. The supported HTML tags documented include tags such as <b>, <strong>, <i>, <em>, <u>, <s>, <br>, <hr>, <a>, and <img>. HTML table-related tags such as <table>, <tr>, and <td> are not listed among the supported tags. The documentation also notes that Extended Markdown mode does not support arbitrary HTML.

    As a result, Teams may not process custom table formatting or styling attributes as expected, including attempts to control row height. I was unable to find any Microsoft documentation that specifically states row height can be customized for tables in bot messages or Thumbnail Cards.

    For your reference:

    Therefore, the behavior you observed may be expected, as there is currently no documented support for controlling table row height within Teams bot message rendering. If a more compact layout is required, you may consider redesigning the content using supported card elements or Adaptive Cards, which provide a more predictable rendering experience across Teams clients.

    Hope this helps.

    Kind Regards.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.