0

please help me,,
i have made a submit button in my contact us form,,
but the problem is that when i have put echo "Successfuly sent";
it is aligned on the left , and it doesnt look good as a design

how i can add inside echo string something like html to align it to the middle , or give me some ideas ,, the php code is working 100%,,, but i got problems with the page after clicking submit,,,

OR CAN i just add a javascript like a Message box , maybe it is easier,,
PLEASe PLEASE HELP !!!!!!!!!!!!!!!!!!!!!

4
Contributors
7
Replies
8
Views
6 Years
Discussion Span
Last Post by dietdew12z
0

If you are viewing the output/result via a browser then try:

echo "<div style='text-align:center;'>Successfuly sent</div>";
0

it didnt work ,,,,,,, because i have a navigation menu on the left this sentence just came in a line and ruined the navigation bar on the left ,,
what should i do ??
PRINCESS DANI ,, help me u are smart ;) or any others its ok,, coz i am working on this since a long time AND I NEED UR HELP PLEASE !!

0

you can also try: echo "<span style='padding-left:2em;'>Successfuly sent</span>"; If needed, adjust 2em until it is centered.

0

im sorry it didnt work because the menu on the left still moves down ,,, PLEASE HELP ME TO solve this problem,, i will really appreciate it

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.