Forum Moderators: open

Message Too Old, No Replies

Is it possible to make the text go to the bottom of the page in html?

How do you make text go to the bottom of the Page?

         

MrGecko

7:14 pm on Apr 20, 2006 (gmt 0)

10+ Year Member



Is it possable to make the text go to the bottom of the page in html?

If it is can you tell Me how mabe with a div tag

Or with a table that gos with the browser

If you can help me then that will be great :)

Mr. Gecko

Little_G

7:31 pm on Apr 20, 2006 (gmt 0)

10+ Year Member



Hi,

Yeah, you can do it with CSS in the style attribute:

<div id="footer" style="position:absolute;bottom:0px;">

OR the prefered way of doing it would be in the style tags at the top of the page:

<style type="text/css">
#footer{position:absolute;bottom:0px;}
</style>

This makes the style stuff easier to manage

Andrew

MrGecko

8:06 pm on Apr 20, 2006 (gmt 0)

10+ Year Member



The div works ok
But I tried to make it go to the center to and it bypassed it and did not work

Mr. Gecko

Little_G

10:04 pm on Apr 20, 2006 (gmt 0)

10+ Year Member



Hi,

Unfortunatly vertically centering objects in HTML can be difficult, you can either use javscript to calculate the distance the object should be from the top of the screen or you can use a table.

Andrew

MrGecko

10:24 pm on Apr 20, 2006 (gmt 0)

10+ Year Member



May Be I'll use A Table But I need to know how to make it go with the browser

Mr. Gecko

Penny911

12:22 am on Apr 28, 2006 (gmt 0)



Hi,

When you say "I need to know how to make it go with the browser", do you mean, for it to be compatible with a certain browser format? Or alternatively so that the viewed-bit-of-the-page is the lower half?

Sorry if I haven't understood fully ;) but if you meant the second option, bookmarks work quite well for that.

Regards,

Penny.

MrGecko

10:17 pm on Apr 29, 2006 (gmt 0)

10+ Year Member



View bit of the page