newphpcoder 11:11:10 | Good day! I have a pure php code, so my table was in echo and I want to change the font and font-size of text in table header but when I put thid code: [PHP] echo "<font size="18" face='Arial'>"; echo "<table>"; and at the lower part i close it echo "</table>"; echo "</font>"; [/PHP] It only take effect in the text outside the table. and when I try to put it on the <table> It doesn't take effect. Thank you in advance |
smo1234 11-11-2010 | All formatting has to be done inside <td> only. Like this <table> <tr><td><font size='18'>This is font 18</font></td><td> This is normal </td></tr> </table> To minimize the code you can use style properties also. |
newphpcoder 11-12-2010 | thank you |