How to set the size of a column in a Bootstrap responsive table

后端 未结 3 734
说谎
说谎 2020-12-22 22:19

How do you set the size of a column in a Bootstrap responsive table? I don\'t want the table to loose its reponsive features. I need it to work in IE8 as well. I have includ

3条回答
  •  清酒与你
    2020-12-22 23:03

    You could use inline styles and define the width in the tag. Make it so that the sum of the widths = 100%.

        
            Size
            Bust
            Waist
            Hips
        
    

    Bootply demo

    Typically using inline styles is not ideal, however this does provide flexibility because you can get very specific and granular with exact widths.

提交回复
热议问题