synchro_irl Posted February 23, 2008 Share Posted February 23, 2008 hey guys, i got some text printed out from an echo and die command, the text comes out in very small font and its not a nice style either, how do i go about changing the font style and size to jazz things up a bit! thanks very much Steve Link to comment https://forums.phpfreaks.com/topic/92565-font-size-and-style/ Share on other sites More sharing options...
fooDigi Posted February 23, 2008 Share Posted February 23, 2008 that would be handled more from a html and css standpoint, rather than php but anyway, put this between your <head> tags <style> body{ font-size: 12px; font-family: arial; } </style> Link to comment https://forums.phpfreaks.com/topic/92565-font-size-and-style/#findComment-474376 Share on other sites More sharing options...
synchro_irl Posted February 23, 2008 Author Share Posted February 23, 2008 that would be handled more from a html and css standpoint, rather than php but anyway, put this between your <head> tags <style> body{ font-size: 12px; font-family: arial; } </style> thanks so much how do i get it bold as well? Link to comment https://forums.phpfreaks.com/topic/92565-font-size-and-style/#findComment-474390 Share on other sites More sharing options...
fooDigi Posted February 23, 2008 Share Posted February 23, 2008 here is a decent reference for css at w3schools for bold also add.... <style> body{ font-size: 12px; font-family: arial; font-weight: bold; } </style> Link to comment https://forums.phpfreaks.com/topic/92565-font-size-and-style/#findComment-474391 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.