# Dash DataTable CSS from page

**URL:** <https://community.plotly.com/t/dash-datatable-css-from-page/16633>\
**Category:** Dash Python\
**Created:** [December 7, 2018, 9:08pm UTC](https://community.plotly.com/t/dash-datatable-css-from-page/16633 "2018-12-07T21:08:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RafaelMiquelino](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@RafaelMiquelino](https://community.plotly.com/u/RafaelMiquelino)\
**Post date:** [December 7, 2018, 9:08pm UTC](https://community.plotly.com/t/dash-datatable-css-from-page/16633/1 "2018-12-07T21:08:28Z")

</div>

Is there a way to make Dash DataTable to inherit the CSS from the page? Like font, padding, alignment and board styles. The Dash DataTable is really awesome but I would like it to have the same style from my standard HTML tables.

---

<div class="post-metadata">

**Author:** ![manelalayet](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@manelalayet](https://community.plotly.com/u/manelalayet)\
**Post date:** [July 9, 2021, 7:25pm UTC](https://community.plotly.com/t/dash-datatable-css-from-page/16633/2 "2021-07-09T19:25:51Z")

</div>

i think you can use the className=“app-footer bg-success” i have a class named app-footer so it’s functional.  
html.A([

```
                    html.Img(

                        src=app.get_asset_url("#),

                        style={'height':'4%','width':'8%','float':'right','position':'relative','padding-top':'20px','padding-right':0}

                    )],href="#",target='_blank'),

                html.P('@copyright2021',className='d-flex flex-row p-2 w-25 m-2 font-weight-bold text-light'),

            ]),width=12,className="app-footer bg-success"
```
