Bootstraped table - smaller font size
css, html
Solution
sir. I would try something like this:
.table-condensed{
font-size: 10px;
}
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<table class="table table-condensed">
<thead>
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td>
<td>Doe</td>
<td>john@example.com</td>
</tr>
<tr>
<td>Mary</td>
<td>Moe</td>
<td>mary@example.com</td>
</tr>
<tr>
<td>July</td>
<td>Dooley</td>
<td>july@example.com</td>
</tr>
</tbody>
</table>
I got this fiddle your you: https://jsfiddle.net/mqhd0js6/ . Hope it helps!
Problem
I'm using bootstrap table in my html: ``` <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <style> .table-condensed { width: 90% !important; } ``` And I'd like to make font size in table much smaller. How can I adjust current code to have desired output. Many thanks in advance.