Page 1 of 1

Allignment with echo function

Posted: Wed Jan 30, 2008 5:01 am
by zahidprimex
Hi All
If I use echo function (as example echo WEBSITE ) in a php file The text "Website" will appear on the top of the page with left allignment.How can I show it on the bottom of the page with Middle allignment? Help Please

Re: Allignment with echo function

Posted: Wed Jan 30, 2008 5:24 am
by aceconcepts
Try using a div with some styling. i.e. position:absolute; margin-left:auto; margin-right:auto; bottom:0;

Also try using a search engine with something like "show div at bottom" etc...

Re: Allignment with echo function

Posted: Wed Jan 30, 2008 9:53 am
by pickle
Layout of a page is handled client-side. So, I'm moving this thread there.

Re: Allignment with echo function

Posted: Sat Feb 02, 2008 2:36 am
by GuitarheadCA
You have to put the "echo" statement where you would normally put the text. If it's showing up in the top left corner of your page, it's probably at the top of your html code. Put it in a div styled for the center and bottom of the page.