php - How to Modify the Font Size of the Contents in a Table -


in table trying change font size. have tried adding font size in tag, adding in css code myposts class, nothing prevailed. how can change font size?

  <table width="100%" border="0" class = "myposts"; align="center" cellpadding="3" cellspacing="1"  bgcolor="#686868 " >   <tr>    <td width="6%" align="center" bgcolor="#505050 " ><strong>#</strong></td>    <td width="53%" align="center" bgcolor="#505050 "><strong>job description</strong></td>    <td width="15%" align="center" bgcolor="#505050 "><strong>views</strong></td>    <td width="13%" align="center" bgcolor="#505050 "><strong>replies</strong></td>    <td width="13%" align="center" bgcolor="#505050 "><strong>date/time</strong></td>   </tr> 

you can select table cells in css

table.myposts tr td {  font-size: 18px; } 

Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -