Jump to content

Applying styles to php code


jassikundi

Recommended Posts

Hi poeple, i'm kinda stuck on applying styles to my php code. I've applied styles to everything that can be displayed via dreamweaver's design interface and attached a css to some of the text. However how do I format text that is echoed? For example the code below:

 

[pre]echo "<h1>User Account Edit Success!</h1>";

  echo "<p><b>$session->username</b>, your account has been successfully updated. "

      ."<a href=\"main.php\">Main</a>.</p>";[/pre]

 

I would like to add a different colour and font. that's about it really.

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/95239-applying-styles-to-php-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.