i have this bit of code Echo "<b>END OF CATS LOST RECORDS <br> " PHP: how do i say which colour i would like to display say Red cheers Doug
well ya don't directly. You could use a font tag to wrap around it though that's deprecated. The "correct" way would be to wrap the text in a tag (options are P or DIV, span if its displayed inline) and assign a CSS class with a rule. CSS style goes into the head part of the page. <html><head> <style> .redtext { color: maroon ; } </style> </head> <body> <?php echo "<p class='redtext'>END OF CATS LOST RECORDS </p>"; ?> </body> </html> PHP: Now when you want anything to have redtext just assign it a class: redtext;.