Page 1 of 1

Help - CSS'ing this PHP echo

Posted: Fri Aug 26, 2005 9:36 am
by mhouldridge
Help,

I need to CSS the following output;

Code: Select all

echo "<a href=\"".$_SERVER['PHP_SELF']."?page=$next\">Next</a>";
my class is called blue. I do not know how to do this.


thanks,
Mark

Posted: Fri Aug 26, 2005 10:06 am
by JayBird

Code: Select all

echo "<a href=\"".$_SERVER['PHP_SELF']."?page=$next\" class=\"blue\">Next</a>";
or

Code: Select all

echo "<a href=\"".$_SERVER['PHP_SELF']."?page=$next\"><span class=\"blue\">Next</span></a>";