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
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!
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:
<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.
Summary: I have been revamping my web site in hopes of making it easy for someone to make some changes when I am not around. I am currently developing a page to show an individuals biography. All the informa...
Summary: I used a copy and paste javascript to hide my email addresses on a webpage. The script is simple enough and works well, except for the text output, it is white and obviously doesn't show up on a white...
Summary: If I post an image on these forums they show up on IE but not on Firefox. I assume this is also the case with Netscape. Images are posted with html...[img src="url"]. Am I doing something wrong or i...