Computing.Net > Forums > Web Development > make text always show up on bottom

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

make text always show up on bottom

Reply to Message Icon

Name: wheelspinner99
Date: June 9, 2004 at 00:25:26 Pacific
OS: n/a
CPU/Ram: enough
Comment:

ok, is there a way i can make a php string show up on the very bottom of a page regardless if there is any text on the page? thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: jam14online
Date: June 9, 2004 at 10:48:37 Pacific
Reply:

Well, if there is no other text on the page then the page will not take more than one screenful of information. That means you can use a small bit of CSS to absolutely position the paragraph containing the string. All you do is something like this:

<style type="text/css">
.string {
position: absolute;
left: 3px;
bottom: 3px;
margin: 0;
}
</style>

<p class="string">This is the text string you made in PHP...</p>

And then you echo() your string inbetween the paragraph tags.


James



0

Response Number 2
Name: wheelspinner99
Date: June 9, 2004 at 18:17:13 Pacific
Reply:

well not all pages are empty, i was saying that so i could cover all of the bases, sorry. So will it work whether or not there is text? thanks again!


0

Response Number 3
Name: jam14online
Date: June 12, 2004 at 03:21:37 Pacific
Reply:

No, sorry, that will only work if the text fits into one screenful of information, i.e. it doesn't scroll at all. Otherwise you'll find that the paragraph is written over some other text.


James



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: make text always show up on bottom

line break from database results www.computing.net/answers/webdevel/line-break-from-database-results/641.html

text color of a javascript output www.computing.net/answers/webdevel/text-color-of-a-javascript-output/3803.html

No images on Firefox www.computing.net/answers/webdevel/no-images-on-firefox/514.html