How to set column widths to a jQuery datatable?

后端 未结 7 963
庸人自扰
庸人自扰 2020-12-08 02:45

I have a jQuery datatable(outlined in red), but what happens is that the table jumps out of the width I have set for the div(which is 650 px).

Here is the screen shot

7条回答
  •  被撕碎了的回忆
    2020-12-08 02:57

    I found this on 456 Bera St. Man is it a lifesaver!!!

    http://www.456bereastreet.com/archive/200704/how_to_prevent_html_tables_from_becoming_too_wide/

    But - you don't have a lot of room to spare with your data.

    CSS FTW:

    
    

提交回复
热议问题