How is the padding of display:table-cell determined

后端 未结 2 1910
广开言路
广开言路 2021-01-14 18:05

I\'m trying to come out with a table-like layout, with medicine names appearing on the left and the data occupy the rest of the table. Simply put:

                   


        
2条回答
  •  孤独总比滥情好
    2021-01-14 18:29

    I see that Temani Afif has already provided solution to your original problem. But in case if it helps you in anyway or anyone else, here is the basic structure of a table with sub-tables

    Styles

    
    

    Table structure

    Row1
    Cell1
    Cell2
    Cell3
    Cell4
    Row2
    Cell1
    Cell2
    Cell3
    Cell4

提交回复
热议问题