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
Allignment with echo function
Moderator: General Moderators
-
zahidprimex
- Forum Newbie
- Posts: 9
- Joined: Tue Jan 29, 2008 7:44 am
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: Allignment with echo function
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...
Also try using a search engine with something like "show div at bottom" etc...
Re: Allignment with echo function
Layout of a page is handled client-side. So, I'm moving this thread there.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
-
GuitarheadCA
- Forum Newbie
- Posts: 20
- Joined: Fri Jul 13, 2007 12:59 am
Re: Allignment with echo function
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.