# style_xxx works with tbl_ae family

    Code
      as_gt(t1, id = "t1_001")
    Output
      <div id="t1_001" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
        <style>#t1_001 table {
        font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
      
      #t1_001 thead, #t1_001 tbody, #t1_001 tfoot, #t1_001 tr, #t1_001 td, #t1_001 th {
        border-style: none;
      }
      
      #t1_001 p {
        margin: 0;
        padding: 0;
      }
      
      #t1_001 .gt_table {
        display: table;
        border-collapse: collapse;
        line-height: normal;
        margin-left: auto;
        margin-right: auto;
        color: #333333;
        font-size: 16px;
        font-weight: normal;
        font-style: normal;
        background-color: #FFFFFF;
        width: auto;
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #A8A8A8;
        border-right-style: none;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #A8A8A8;
        border-left-style: none;
        border-left-width: 2px;
        border-left-color: #D3D3D3;
      }
      
      #t1_001 .gt_caption {
        padding-top: 4px;
        padding-bottom: 4px;
      }
      
      #t1_001 .gt_title {
        color: #333333;
        font-size: 125%;
        font-weight: initial;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 5px;
        padding-right: 5px;
        border-bottom-color: #FFFFFF;
        border-bottom-width: 0;
      }
      
      #t1_001 .gt_subtitle {
        color: #333333;
        font-size: 85%;
        font-weight: initial;
        padding-top: 3px;
        padding-bottom: 5px;
        padding-left: 5px;
        padding-right: 5px;
        border-top-color: #FFFFFF;
        border-top-width: 0;
      }
      
      #t1_001 .gt_heading {
        background-color: #FFFFFF;
        text-align: center;
        border-bottom-color: #FFFFFF;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
      }
      
      #t1_001 .gt_bottom_border {
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
      }
      
      #t1_001 .gt_col_headings {
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
      }
      
      #t1_001 .gt_col_heading {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: normal;
        text-transform: inherit;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
        vertical-align: bottom;
        padding-top: 5px;
        padding-bottom: 6px;
        padding-left: 5px;
        padding-right: 5px;
        overflow-x: hidden;
      }
      
      #t1_001 .gt_column_spanner_outer {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: normal;
        text-transform: inherit;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 4px;
        padding-right: 4px;
      }
      
      #t1_001 .gt_column_spanner_outer:first-child {
        padding-left: 0;
      }
      
      #t1_001 .gt_column_spanner_outer:last-child {
        padding-right: 0;
      }
      
      #t1_001 .gt_column_spanner {
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        vertical-align: bottom;
        padding-top: 5px;
        padding-bottom: 5px;
        overflow-x: hidden;
        display: inline-block;
        width: 100%;
      }
      
      #t1_001 .gt_spanner_row {
        border-bottom-style: hidden;
      }
      
      #t1_001 .gt_group_heading {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        text-transform: inherit;
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
        vertical-align: middle;
        text-align: left;
      }
      
      #t1_001 .gt_empty_group_heading {
        padding: 0.5px;
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        vertical-align: middle;
      }
      
      #t1_001 .gt_from_md > :first-child {
        margin-top: 0;
      }
      
      #t1_001 .gt_from_md > :last-child {
        margin-bottom: 0;
      }
      
      #t1_001 .gt_row {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        margin: 10px;
        border-top-style: solid;
        border-top-width: 1px;
        border-top-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
        vertical-align: middle;
        overflow-x: hidden;
      }
      
      #t1_001 .gt_stub {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        text-transform: inherit;
        border-right-style: solid;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t1_001 .gt_stub_row_group {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        text-transform: inherit;
        border-right-style: solid;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
        padding-left: 5px;
        padding-right: 5px;
        vertical-align: top;
      }
      
      #t1_001 .gt_row_group_first td {
        border-top-width: 2px;
      }
      
      #t1_001 .gt_row_group_first th {
        border-top-width: 2px;
      }
      
      #t1_001 .gt_summary_row {
        color: #333333;
        background-color: #FFFFFF;
        text-transform: inherit;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t1_001 .gt_first_summary_row {
        border-top-style: solid;
        border-top-color: #D3D3D3;
      }
      
      #t1_001 .gt_first_summary_row.thick {
        border-top-width: 2px;
      }
      
      #t1_001 .gt_last_summary_row {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
      }
      
      #t1_001 .gt_grand_summary_row {
        color: #333333;
        background-color: #FFFFFF;
        text-transform: inherit;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t1_001 .gt_first_grand_summary_row {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        border-top-style: double;
        border-top-width: 6px;
        border-top-color: #D3D3D3;
      }
      
      #t1_001 .gt_last_grand_summary_row_top {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        border-bottom-style: double;
        border-bottom-width: 6px;
        border-bottom-color: #D3D3D3;
      }
      
      #t1_001 .gt_striped {
        background-color: rgba(128, 128, 128, 0.05);
      }
      
      #t1_001 .gt_table_body {
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
      }
      
      #t1_001 .gt_footnotes {
        color: #333333;
        background-color: #FFFFFF;
        border-bottom-style: none;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 2px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
      }
      
      #t1_001 .gt_footnote {
        margin: 0px;
        font-size: 90%;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t1_001 .gt_sourcenotes {
        color: #333333;
        background-color: #FFFFFF;
        border-bottom-style: none;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 2px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
      }
      
      #t1_001 .gt_sourcenote {
        font-size: 90%;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t1_001 .gt_left {
        text-align: left;
      }
      
      #t1_001 .gt_center {
        text-align: center;
      }
      
      #t1_001 .gt_right {
        text-align: right;
        font-variant-numeric: tabular-nums;
      }
      
      #t1_001 .gt_font_normal {
        font-weight: normal;
      }
      
      #t1_001 .gt_font_bold {
        font-weight: bold;
      }
      
      #t1_001 .gt_font_italic {
        font-style: italic;
      }
      
      #t1_001 .gt_super {
        font-size: 65%;
      }
      
      #t1_001 .gt_footnote_marks {
        font-size: 75%;
        vertical-align: 0.4em;
        position: initial;
      }
      
      #t1_001 .gt_asterisk {
        font-size: 100%;
        vertical-align: 0;
      }
      
      #t1_001 .gt_indent_1 {
        text-indent: 5px;
      }
      
      #t1_001 .gt_indent_2 {
        text-indent: 10px;
      }
      
      #t1_001 .gt_indent_3 {
        text-indent: 15px;
      }
      
      #t1_001 .gt_indent_4 {
        text-indent: 20px;
      }
      
      #t1_001 .gt_indent_5 {
        text-indent: 25px;
      }
      </style>
        <table class="gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false">
        <thead>
          
          <tr class="gt_col_headings gt_spanner_row">
            <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="2" colspan="1" scope="col" id="&lt;strong&gt;Adverse Event&lt;/strong&gt;"><strong>Adverse Event</strong></th>
            <th class="gt_center gt_columns_top_border gt_column_spanner_outer" rowspan="1" colspan="5" scope="colgroup" id="&lt;strong&gt;N = xx&lt;/strong&gt;">
              <span class="gt_column_spanner"><strong>N = xx</strong></span>
            </th>
          </tr>
          <tr class="gt_col_headings">
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 1&lt;/strong&gt;"><strong>Grade 1</strong></th>
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 2&lt;/strong&gt;"><strong>Grade 2</strong></th>
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 3&lt;/strong&gt;"><strong>Grade 3</strong></th>
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 4&lt;/strong&gt;"><strong>Grade 4</strong></th>
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 5&lt;/strong&gt;"><strong>Grade 5</strong></th>
          </tr>
        </thead>
        <tbody class="gt_table_body">
          <tr><td headers="label" class="gt_row gt_left">Blood and lymphatic system disorders</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Anaemia</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Increased tendency to bruise</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Iron deficiency anaemia</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Thrombocytopenia</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">Gastrointestinal disorders</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Difficult digestion</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Intestinal dilatation</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Myochosis</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Non-erosive reflux disease</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Pancreatic enzyme abnormality</td>
      <td headers="stat_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_3" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_4" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_5" class="gt_row gt_center">xx (xx.x)</td></tr>
        </tbody>
        
        
      </table>
      </div>

---

    Code
      as_gt(t2, id = "t2_001")
    Output
      <div id="t2_001" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
        <style>#t2_001 table {
        font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
      
      #t2_001 thead, #t2_001 tbody, #t2_001 tfoot, #t2_001 tr, #t2_001 td, #t2_001 th {
        border-style: none;
      }
      
      #t2_001 p {
        margin: 0;
        padding: 0;
      }
      
      #t2_001 .gt_table {
        display: table;
        border-collapse: collapse;
        line-height: normal;
        margin-left: auto;
        margin-right: auto;
        color: #333333;
        font-size: 16px;
        font-weight: normal;
        font-style: normal;
        background-color: #FFFFFF;
        width: auto;
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #A8A8A8;
        border-right-style: none;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #A8A8A8;
        border-left-style: none;
        border-left-width: 2px;
        border-left-color: #D3D3D3;
      }
      
      #t2_001 .gt_caption {
        padding-top: 4px;
        padding-bottom: 4px;
      }
      
      #t2_001 .gt_title {
        color: #333333;
        font-size: 125%;
        font-weight: initial;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 5px;
        padding-right: 5px;
        border-bottom-color: #FFFFFF;
        border-bottom-width: 0;
      }
      
      #t2_001 .gt_subtitle {
        color: #333333;
        font-size: 85%;
        font-weight: initial;
        padding-top: 3px;
        padding-bottom: 5px;
        padding-left: 5px;
        padding-right: 5px;
        border-top-color: #FFFFFF;
        border-top-width: 0;
      }
      
      #t2_001 .gt_heading {
        background-color: #FFFFFF;
        text-align: center;
        border-bottom-color: #FFFFFF;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
      }
      
      #t2_001 .gt_bottom_border {
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
      }
      
      #t2_001 .gt_col_headings {
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
      }
      
      #t2_001 .gt_col_heading {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: normal;
        text-transform: inherit;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
        vertical-align: bottom;
        padding-top: 5px;
        padding-bottom: 6px;
        padding-left: 5px;
        padding-right: 5px;
        overflow-x: hidden;
      }
      
      #t2_001 .gt_column_spanner_outer {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: normal;
        text-transform: inherit;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 4px;
        padding-right: 4px;
      }
      
      #t2_001 .gt_column_spanner_outer:first-child {
        padding-left: 0;
      }
      
      #t2_001 .gt_column_spanner_outer:last-child {
        padding-right: 0;
      }
      
      #t2_001 .gt_column_spanner {
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        vertical-align: bottom;
        padding-top: 5px;
        padding-bottom: 5px;
        overflow-x: hidden;
        display: inline-block;
        width: 100%;
      }
      
      #t2_001 .gt_spanner_row {
        border-bottom-style: hidden;
      }
      
      #t2_001 .gt_group_heading {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        text-transform: inherit;
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
        vertical-align: middle;
        text-align: left;
      }
      
      #t2_001 .gt_empty_group_heading {
        padding: 0.5px;
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        vertical-align: middle;
      }
      
      #t2_001 .gt_from_md > :first-child {
        margin-top: 0;
      }
      
      #t2_001 .gt_from_md > :last-child {
        margin-bottom: 0;
      }
      
      #t2_001 .gt_row {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        margin: 10px;
        border-top-style: solid;
        border-top-width: 1px;
        border-top-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
        vertical-align: middle;
        overflow-x: hidden;
      }
      
      #t2_001 .gt_stub {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        text-transform: inherit;
        border-right-style: solid;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t2_001 .gt_stub_row_group {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        text-transform: inherit;
        border-right-style: solid;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
        padding-left: 5px;
        padding-right: 5px;
        vertical-align: top;
      }
      
      #t2_001 .gt_row_group_first td {
        border-top-width: 2px;
      }
      
      #t2_001 .gt_row_group_first th {
        border-top-width: 2px;
      }
      
      #t2_001 .gt_summary_row {
        color: #333333;
        background-color: #FFFFFF;
        text-transform: inherit;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t2_001 .gt_first_summary_row {
        border-top-style: solid;
        border-top-color: #D3D3D3;
      }
      
      #t2_001 .gt_first_summary_row.thick {
        border-top-width: 2px;
      }
      
      #t2_001 .gt_last_summary_row {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
      }
      
      #t2_001 .gt_grand_summary_row {
        color: #333333;
        background-color: #FFFFFF;
        text-transform: inherit;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t2_001 .gt_first_grand_summary_row {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        border-top-style: double;
        border-top-width: 6px;
        border-top-color: #D3D3D3;
      }
      
      #t2_001 .gt_last_grand_summary_row_top {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        border-bottom-style: double;
        border-bottom-width: 6px;
        border-bottom-color: #D3D3D3;
      }
      
      #t2_001 .gt_striped {
        background-color: rgba(128, 128, 128, 0.05);
      }
      
      #t2_001 .gt_table_body {
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
      }
      
      #t2_001 .gt_footnotes {
        color: #333333;
        background-color: #FFFFFF;
        border-bottom-style: none;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 2px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
      }
      
      #t2_001 .gt_footnote {
        margin: 0px;
        font-size: 90%;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t2_001 .gt_sourcenotes {
        color: #333333;
        background-color: #FFFFFF;
        border-bottom-style: none;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 2px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
      }
      
      #t2_001 .gt_sourcenote {
        font-size: 90%;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t2_001 .gt_left {
        text-align: left;
      }
      
      #t2_001 .gt_center {
        text-align: center;
      }
      
      #t2_001 .gt_right {
        text-align: right;
        font-variant-numeric: tabular-nums;
      }
      
      #t2_001 .gt_font_normal {
        font-weight: normal;
      }
      
      #t2_001 .gt_font_bold {
        font-weight: bold;
      }
      
      #t2_001 .gt_font_italic {
        font-style: italic;
      }
      
      #t2_001 .gt_super {
        font-size: 65%;
      }
      
      #t2_001 .gt_footnote_marks {
        font-size: 75%;
        vertical-align: 0.4em;
        position: initial;
      }
      
      #t2_001 .gt_asterisk {
        font-size: 100%;
        vertical-align: 0;
      }
      
      #t2_001 .gt_indent_1 {
        text-indent: 5px;
      }
      
      #t2_001 .gt_indent_2 {
        text-indent: 10px;
      }
      
      #t2_001 .gt_indent_3 {
        text-indent: 15px;
      }
      
      #t2_001 .gt_indent_4 {
        text-indent: 20px;
      }
      
      #t2_001 .gt_indent_5 {
        text-indent: 25px;
      }
      </style>
        <table class="gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false">
        <thead>
          
          <tr class="gt_col_headings gt_spanner_row">
            <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="2" colspan="1" scope="col" id="&lt;strong&gt;Adverse Event&lt;/strong&gt;"><strong>Adverse Event</strong></th>
            <th class="gt_center gt_columns_top_border gt_column_spanner_outer" rowspan="1" colspan="5" scope="colgroup" id="&lt;strong&gt;N = xx&lt;/strong&gt;">
              <span class="gt_column_spanner"><strong>N = xx</strong></span>
            </th>
          </tr>
          <tr class="gt_col_headings">
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 1&lt;/strong&gt;"><strong>Grade 1</strong></th>
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 2&lt;/strong&gt;"><strong>Grade 2</strong></th>
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 3&lt;/strong&gt;"><strong>Grade 3</strong></th>
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 4&lt;/strong&gt;"><strong>Grade 4</strong></th>
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 5&lt;/strong&gt;"><strong>Grade 5</strong></th>
          </tr>
        </thead>
        <tbody class="gt_table_body">
          <tr><td headers="label" class="gt_row gt_left">Blood and lymphatic system disorders</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Anaemia</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Increased tendency to bruise</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Iron deficiency anaemia</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Thrombocytopenia</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
          <tr><td headers="label" class="gt_row gt_left">Gastrointestinal disorders</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Difficult digestion</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Intestinal dilatation</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Myochosis</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Non-erosive reflux disease</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Pancreatic enzyme abnormality</td>
      <td headers="stat_1" class="gt_row gt_center">xx</td>
      <td headers="stat_2" class="gt_row gt_center">xx</td>
      <td headers="stat_3" class="gt_row gt_center">xx</td>
      <td headers="stat_4" class="gt_row gt_center">xx</td>
      <td headers="stat_5" class="gt_row gt_center">xx</td></tr>
        </tbody>
        
        
      </table>
      </div>

---

    Code
      as_gt(t3, id = "t3_001")
    Output
      <div id="t3_001" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
        <style>#t3_001 table {
        font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
      
      #t3_001 thead, #t3_001 tbody, #t3_001 tfoot, #t3_001 tr, #t3_001 td, #t3_001 th {
        border-style: none;
      }
      
      #t3_001 p {
        margin: 0;
        padding: 0;
      }
      
      #t3_001 .gt_table {
        display: table;
        border-collapse: collapse;
        line-height: normal;
        margin-left: auto;
        margin-right: auto;
        color: #333333;
        font-size: 16px;
        font-weight: normal;
        font-style: normal;
        background-color: #FFFFFF;
        width: auto;
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #A8A8A8;
        border-right-style: none;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #A8A8A8;
        border-left-style: none;
        border-left-width: 2px;
        border-left-color: #D3D3D3;
      }
      
      #t3_001 .gt_caption {
        padding-top: 4px;
        padding-bottom: 4px;
      }
      
      #t3_001 .gt_title {
        color: #333333;
        font-size: 125%;
        font-weight: initial;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 5px;
        padding-right: 5px;
        border-bottom-color: #FFFFFF;
        border-bottom-width: 0;
      }
      
      #t3_001 .gt_subtitle {
        color: #333333;
        font-size: 85%;
        font-weight: initial;
        padding-top: 3px;
        padding-bottom: 5px;
        padding-left: 5px;
        padding-right: 5px;
        border-top-color: #FFFFFF;
        border-top-width: 0;
      }
      
      #t3_001 .gt_heading {
        background-color: #FFFFFF;
        text-align: center;
        border-bottom-color: #FFFFFF;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
      }
      
      #t3_001 .gt_bottom_border {
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
      }
      
      #t3_001 .gt_col_headings {
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
      }
      
      #t3_001 .gt_col_heading {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: normal;
        text-transform: inherit;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
        vertical-align: bottom;
        padding-top: 5px;
        padding-bottom: 6px;
        padding-left: 5px;
        padding-right: 5px;
        overflow-x: hidden;
      }
      
      #t3_001 .gt_column_spanner_outer {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: normal;
        text-transform: inherit;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 4px;
        padding-right: 4px;
      }
      
      #t3_001 .gt_column_spanner_outer:first-child {
        padding-left: 0;
      }
      
      #t3_001 .gt_column_spanner_outer:last-child {
        padding-right: 0;
      }
      
      #t3_001 .gt_column_spanner {
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        vertical-align: bottom;
        padding-top: 5px;
        padding-bottom: 5px;
        overflow-x: hidden;
        display: inline-block;
        width: 100%;
      }
      
      #t3_001 .gt_spanner_row {
        border-bottom-style: hidden;
      }
      
      #t3_001 .gt_group_heading {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        text-transform: inherit;
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
        vertical-align: middle;
        text-align: left;
      }
      
      #t3_001 .gt_empty_group_heading {
        padding: 0.5px;
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        vertical-align: middle;
      }
      
      #t3_001 .gt_from_md > :first-child {
        margin-top: 0;
      }
      
      #t3_001 .gt_from_md > :last-child {
        margin-bottom: 0;
      }
      
      #t3_001 .gt_row {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        margin: 10px;
        border-top-style: solid;
        border-top-width: 1px;
        border-top-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 1px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 1px;
        border-right-color: #D3D3D3;
        vertical-align: middle;
        overflow-x: hidden;
      }
      
      #t3_001 .gt_stub {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        text-transform: inherit;
        border-right-style: solid;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t3_001 .gt_stub_row_group {
        color: #333333;
        background-color: #FFFFFF;
        font-size: 100%;
        font-weight: initial;
        text-transform: inherit;
        border-right-style: solid;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
        padding-left: 5px;
        padding-right: 5px;
        vertical-align: top;
      }
      
      #t3_001 .gt_row_group_first td {
        border-top-width: 2px;
      }
      
      #t3_001 .gt_row_group_first th {
        border-top-width: 2px;
      }
      
      #t3_001 .gt_summary_row {
        color: #333333;
        background-color: #FFFFFF;
        text-transform: inherit;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t3_001 .gt_first_summary_row {
        border-top-style: solid;
        border-top-color: #D3D3D3;
      }
      
      #t3_001 .gt_first_summary_row.thick {
        border-top-width: 2px;
      }
      
      #t3_001 .gt_last_summary_row {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
      }
      
      #t3_001 .gt_grand_summary_row {
        color: #333333;
        background-color: #FFFFFF;
        text-transform: inherit;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t3_001 .gt_first_grand_summary_row {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        border-top-style: double;
        border-top-width: 6px;
        border-top-color: #D3D3D3;
      }
      
      #t3_001 .gt_last_grand_summary_row_top {
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 5px;
        padding-right: 5px;
        border-bottom-style: double;
        border-bottom-width: 6px;
        border-bottom-color: #D3D3D3;
      }
      
      #t3_001 .gt_striped {
        background-color: rgba(128, 128, 128, 0.05);
      }
      
      #t3_001 .gt_table_body {
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #D3D3D3;
        border-bottom-style: solid;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
      }
      
      #t3_001 .gt_footnotes {
        color: #333333;
        background-color: #FFFFFF;
        border-bottom-style: none;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 2px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
      }
      
      #t3_001 .gt_footnote {
        margin: 0px;
        font-size: 90%;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t3_001 .gt_sourcenotes {
        color: #333333;
        background-color: #FFFFFF;
        border-bottom-style: none;
        border-bottom-width: 2px;
        border-bottom-color: #D3D3D3;
        border-left-style: none;
        border-left-width: 2px;
        border-left-color: #D3D3D3;
        border-right-style: none;
        border-right-width: 2px;
        border-right-color: #D3D3D3;
      }
      
      #t3_001 .gt_sourcenote {
        font-size: 90%;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 5px;
        padding-right: 5px;
      }
      
      #t3_001 .gt_left {
        text-align: left;
      }
      
      #t3_001 .gt_center {
        text-align: center;
      }
      
      #t3_001 .gt_right {
        text-align: right;
        font-variant-numeric: tabular-nums;
      }
      
      #t3_001 .gt_font_normal {
        font-weight: normal;
      }
      
      #t3_001 .gt_font_bold {
        font-weight: bold;
      }
      
      #t3_001 .gt_font_italic {
        font-style: italic;
      }
      
      #t3_001 .gt_super {
        font-size: 65%;
      }
      
      #t3_001 .gt_footnote_marks {
        font-size: 75%;
        vertical-align: 0.4em;
        position: initial;
      }
      
      #t3_001 .gt_asterisk {
        font-size: 100%;
        vertical-align: 0;
      }
      
      #t3_001 .gt_indent_1 {
        text-indent: 5px;
      }
      
      #t3_001 .gt_indent_2 {
        text-indent: 10px;
      }
      
      #t3_001 .gt_indent_3 {
        text-indent: 15px;
      }
      
      #t3_001 .gt_indent_4 {
        text-indent: 20px;
      }
      
      #t3_001 .gt_indent_5 {
        text-indent: 25px;
      }
      </style>
        <table class="gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false">
        <thead>
          
          <tr class="gt_col_headings gt_spanner_row">
            <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="2" colspan="1" scope="col" id="&lt;strong&gt;Adverse Event&lt;/strong&gt;"><strong>Adverse Event</strong></th>
            <th class="gt_center gt_columns_top_border gt_column_spanner_outer" rowspan="1" colspan="2" scope="colgroup" id="&lt;strong&gt;N = xx&lt;/strong&gt;">
              <span class="gt_column_spanner"><strong>N = xx</strong></span>
            </th>
          </tr>
          <tr class="gt_col_headings">
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Any Grade Complication&lt;/strong&gt;"><strong>Any Grade Complication</strong></th>
            <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Grade 3+ Complication&lt;/strong&gt;"><strong>Grade 3+ Complication</strong></th>
          </tr>
        </thead>
        <tbody class="gt_table_body">
          <tr><td headers="label" class="gt_row gt_left">Blood and lymphatic system disorders</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Anaemia</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Increased tendency to bruise</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Iron deficiency anaemia</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Thrombocytopenia</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">Gastrointestinal disorders</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Difficult digestion</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Intestinal dilatation</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Myochosis</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Non-erosive reflux disease</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
          <tr><td headers="label" class="gt_row gt_left">    Pancreatic enzyme abnormality</td>
      <td headers="stat_2_1" class="gt_row gt_center">xx (xx.x)</td>
      <td headers="stat_2_2" class="gt_row gt_center">xx (xx.x)</td></tr>
        </tbody>
        
        
      </table>
      </div>

# style_xxx works with tbl_reg_summary

    Code
      as.data.frame(t4)
    Output
        **Characteristic**  **N = xx**
      1  Biological Marker        <NA>
      2                  N          xx
      3          Mean (SD)     xx (xx)
      4       Median (IQR) xx (xx, xx)
      5              Range      xx, xx
      6          N missing          xx
      7    Treatment Group        <NA>
      8             Drug A  xx (xx.x%)
      9             Drug B  xx (xx.x%)

---

    Code
      as.data.frame(t5)
    Output
        **Characteristic**  **N = xx**
      1  Biological Marker        <NA>
      2                  N          xx
      3          Mean (SD) xx.x (xx.x)
      4       Median (IQR) xx (xx, xx)
      5              Range      xx, xx
      6          N missing        xx.x
      7    Treatment Group        <NA>
      8             Drug A  xx (xx.x%)
      9             Drug B  xx (xx.x%)

