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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -