Phpnewbie23 Posted January 21, 2009 Share Posted January 21, 2009 How do you change the font in PHP. For a example i have a table that is populated by a database. I have created <font size="1" face="arial"> THIS IS A TEST <?php THIS IS A TEST is the correct size and face and i believe i have my closing font tag in the correct place. odbc_close($conn); ?> </font> But the table text never goes to font specified it says at the stander ed size 3 . please help Cheers Quote Link to comment https://forums.phpfreaks.com/topic/141748-solved-fonts-in-php/ Share on other sites More sharing options...
GingerRobot Posted January 21, 2009 Share Posted January 21, 2009 Your php has nothing to do with this. You should be concerned with the generated HTML output. Also, you should drop the font tag and use CSS - the font tag was depreciated quite a while ago. Quote Link to comment https://forums.phpfreaks.com/topic/141748-solved-fonts-in-php/#findComment-742030 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.