Make text smaller with HTML/CSS -


i'm trying figure out how emulate image using html , css. displayed below avatar on message board.

stats

this have far: https://jsfiddle.net/j7vbv/220/

table.avatarstats {     border-spacing: 0;     border-collapse: collapse;     text-align: center;     color: white;     font-family: arial, helvetica, sans-serif; }  <table class="avatarstats" width="200" border="0">   <tr>     <td bgcolor="purple">recent wr<br /><strong>61%</strong></td>     <td bgcolor="teal">overall<br /><strong>55%</strong></td>   </tr>   <tr>       <td bgcolor="purple">recent wn8<br /><strong>2469</strong></td>     <td bgcolor="teal">overall<br /><strong>1737</strong></td>   </tr> </table> 

the main problem i'm having decreasing size of text above numbers. nothing i've tried making text smaller.

also, there better way of bolding numbers?

use this

table.avatarstats {  	border-spacing: 0;    	border-collapse: collapse;  	text-align: center;  	color: white;  	font-family: arial, helvetica, sans-serif;  }  td small{      font-size:7pt;      font-weight:bold;  }  td strong{            font-size:18pt;       font-weight:bold;  }
<table class="avatarstats" width="200" border="0">    <tr>        <td bgcolor="purple"><small>recent wr</small><br /><strong>61%</strong></td>      <td bgcolor="teal"><small>overall</small><br /><strong>55%</strong></td>    </tr>    <tr>        <td bgcolor="purple"><small>recent wn8</small><br /><strong>2469</strong></td>        <td bgcolor="teal"><dev font-size: 10pt;><small>overall</small><br /><strong>1737</strong></td>    </tr>  </table>


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -