Jump to content

[SOLVED] CSS design question


ohdang888

Recommended Posts

You can just echo it

<?php
echo "<span style=\"color:red;font-weight:bold;\">This is red and bold styled text.</span>";
?>

or just stop PHP script and write it directly as CSS.

<?php
$var = "some variable";
//stop php
?>
<!--style text-->
<span style="color:red;font-weight:bold;">This is red and bold styled text.</span>
<?php
//continue php
echo $var;
?>

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.