coldfiretech Posted August 30, 2008 Share Posted August 30, 2008 okay i was wondering if you can format the text that is to be printed in an echo function.. basically i want to echo $text but i want $text to be in verdana, at 8pt instead of ms san serif or whatever the heck it is.... anyone?? Quote Link to comment https://forums.phpfreaks.com/topic/122034-solved-echo-print-functions/ Share on other sites More sharing options...
genericnumber1 Posted August 30, 2008 Share Posted August 30, 2008 that would be html/css. echo '<p style="font-family: verdana; font-size:8px">'.$text.'</p>'; or echo "<p style='font-family: verdana; font-size:8px'>$text</p>"; Quote Link to comment https://forums.phpfreaks.com/topic/122034-solved-echo-print-functions/#findComment-629948 Share on other sites More sharing options...
coldfiretech Posted August 30, 2008 Author Share Posted August 30, 2008 i cant believe i even asked that question! long day! thank u Quote Link to comment https://forums.phpfreaks.com/topic/122034-solved-echo-print-functions/#findComment-629953 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.