User agent stylesheet overriding my table style? Twitter Bootstrap

后端 未结 5 2121
难免孤独
难免孤独 2020-12-13 06:00

I\'m using twitter bootstrap. My problem is that font-sizes in tables are wrong. For some reason the User Agent stylesheet is overriding the bootstrap table styles.

5条回答
  •  北海茫月
    2020-12-13 06:07

    Please import the docs.css into your application as well. If I must say so, you must have realized that the Twitter Bootstrap Docs are using bootstrap.css and a custom docs.css. Try doing, which you can download from the github package. Then, try playing around with the table classes in docs. css without messing with the master css. Or try adding DOCTYPE in headers.

    
    

提交回复
热议问题