ringartdesign Posted September 23, 2008 Share Posted September 23, 2008 This may be a simple question, but how can I format the color and size of the font that the echo outputs? Basically, I'd like to change the size and color of the phone number listed below... echo "$".$quote."/month</p> <p>CALL NOW: 1-877-123-4567<br> Thanks in advance!! Link to comment https://forums.phpfreaks.com/topic/125399-formating-text-color-and-size-on-echo-output/ Share on other sites More sharing options...
jonsjava Posted September 23, 2008 Share Posted September 23, 2008 look at CSS Styles, and then add it into the <p>, so it looks something like <p style="color:red;"> and remember to add a </p> at the end Link to comment https://forums.phpfreaks.com/topic/125399-formating-text-color-and-size-on-echo-output/#findComment-648341 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.