center text

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
JF3000
Forum Newbie
Posts: 19
Joined: Tue Mar 01, 2005 2:54 am

center text

Post by JF3000 »

I have this code :

Code: Select all

case "_SEARCH_FOR": return "Search for your soulmate :)"; break;
When i view it, the code is aligned to the left, how do I center the text please?

Thank you

JF3000
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

research how html works.. there are many ways.. The one to use depends on your standards adherance and things..


http://werbach.com/barebones/
rdionne1187
Forum Newbie
Posts: 17
Joined: Tue Feb 01, 2005 9:30 am
Location: CT

Post by rdionne1187 »

the <center> tag or <div align="center"> string </div>
Post Reply