skip to Main Content

CSS. Make parent have child width

I have table with 700px width and row with 1400px width, so table will have horizontal scroll. How to make body element to have width same as row has? <div style={{ width: 700, overflow: 'auto' }} className='table'> <div className='body'> <div…

VIEW QUESTION
Back To Top
Search