Jump to content

How to format text using Echo?


cnagra

Recommended Posts

Use the "style" attribute
[code]<?php
echo '<span style="font-family:Tahoma;color:red;font-size:200%">Stock Updated Successfully - Update Another ?</span>';
?>[/code]
The "style" attribute is the in-line way of applying CSS attibutes to data on you pages. Learn CSS.

Ken

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.