# Failed to render table in post

**URL:** <https://meta.discourse.org/t/failed-to-render-table-in-post/74794>\
**Category:** Support\
**Created:** [November 25, 2017, 12:03pm UTC](https://meta.discourse.org/t/failed-to-render-table-in-post/74794 "2017-11-25T12:03:57Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![realcasey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/realcasey/32/83132_2.png) [@realcasey](https://meta.discourse.org/u/realcasey)\
**Post date:** [November 25, 2017, 12:03pm UTC](https://meta.discourse.org/t/failed-to-render-table-in-post/74794/1 "2017-11-25T12:03:57Z")

</div>

I try this script in post:

```plaintext
<div>
<style>
    .dataframe thead tr:only-child th {
        text-align: right;
    }

    .dataframe thead th {
        text-align: left;
    }

    .dataframe tbody tr th {
        vertical-align: top;
    }
</style>
<table border="1" class="dataframe">
  <thead>
    <tr style="text-align: right;">
      <th></th>
      <th>date</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th>0</th>
      <td>2007-01-07</td>
    </tr>
    <tr>
      <th>1</th>
      <td>2007-01-14</td>
    </tr>
    <tr>
      <th>2</th>
      <td>2007-01-21</td>
    </tr>
    <tr>
      <th>3</th>
      <td>2007-01-28</td>
    </tr>
    <tr>
      <th>4</th>
      <td>2007-02-04</td>
    </tr>
  </tbody>
</table>
</div>

```

But the table failed to be styled.

Could you give me some instructions?

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/failed-to-render-table-in-post/74794)._
