HTML : placing a text at the bottom

848 views
Skip to first unread message

DurgaBasnet

unread,
May 30, 2008, 6:17:38 AM5/30/08
to libnepal
Hi every one!

How can we place a certain text at the bottom using the HTML code? I
want the certain text to appear at the bottom, (like a footer)

Durga

Prasanna Gautam

unread,
May 30, 2008, 8:58:00 AM5/30/08
to libn...@googlegroups.com
you can use css for this
eg.

<style type="text/css">
.footertext{
position:absolute;
bottom:0;
}
</style>

<div class="footertext">
 My text
</div>

This should presumably keep a text at the bottom... as a footer. There could be other methods that can be employed when designing the page itself.. like wrapping around with tables, so that the footer is at the bottom.. or on a plain php file, including footer.php at the bottom..
--
Prasanna Gautam
300 Summit Street #700248
Trinity College
Hartford, CT 06106

Durga Basnet

unread,
May 30, 2008, 6:40:53 PM5/30/08
to libn...@googlegroups.com
Thank you so much for this.
 
Durga

2008/5/30 Prasanna Gautam <prasann...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages