✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Center html.A element

Centering is kinda hard in plot.ly Dash depending on the component. Now I got stuck on centering an html.A element:

This was my latest attempt but totally failed at it!

html.Div( [html.A( html.Button(‘Download sthg’, className=‘three columns’, style={‘textAlign’: ‘center’}), href=‘http://www.google.com’ )], style={‘textAlign’: ‘center’} ),

Same for dcc.Dropdown.

Hi @dnaiel,

Could you move this From the API/Python category to the Dash category? I think you’ll have better luck over there. Thanks!