...

Align left in PHP

batch
06-10-2005, 09:50 PM
Can some one help me with this?

echo "<b>$comments</b>";

My php script is in a DIV that is has text-align:center; but I need that one string called Comments, to come out aligned to the left, and maybe even with some left padding. How can I attach some style to this line of code.

Thanks...

batch

batch
06-10-2005, 10:05 PM
ok, figured it out...

just in case anyone ever stumbles across this...

[CODE]echo "<p style=\"text-align:left;\"><b>$comments</b></p>";

batch
06-10-2005, 10:05 PM
ok, figured it out...

just in case anyone ever stumbles across this...

echo "<p style=\"text-align:left;\"><b>$comments</b></p>";



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum