Bootstrap Table Column Width Percentage Code Example


Example: bootstrap table col fixed width

<table class="table">   <thead>     <tr>       <th style="width: 30%">Col 1</th>       <th style="width: 20%">Col 2</th>       <th style="width: 10%">Col 3</th>       <th style="width: 30%">Col 4</th>       <th style="width: 10%">Col 5</th>     </tr>   </thead>   <tbody>     <tr>       <td>Val 1</td>       <td>Val 2</td>       <td>Val 3</td>       <td>Val 4</td>       <td>Val 5</td>     </tr>   </tbody> </table>

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable